summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <eradicator@gentoo.org>2004-04-13 17:32:47 +0000
committerJeremy Huddleston <eradicator@gentoo.org>2004-04-13 17:32:47 +0000
commitef3446c256ae3a7e7b42832458853d3b5a108080 (patch)
tree54324b6a493617b91240bc71cf547797ba2554f3 /media-libs/nas
parentmanifest (diff)
downloadgentoo-2-ef3446c256ae3a7e7b42832458853d3b5a108080.tar.gz
gentoo-2-ef3446c256ae3a7e7b42832458853d3b5a108080.tar.bz2
gentoo-2-ef3446c256ae3a7e7b42832458853d3b5a108080.zip
Remove the static lib if USE=-static
Diffstat (limited to 'media-libs/nas')
-rw-r--r--media-libs/nas/ChangeLog5
-rw-r--r--media-libs/nas/nas-1.6c-r1.ebuild7
2 files changed, 9 insertions, 3 deletions
diff --git a/media-libs/nas/ChangeLog b/media-libs/nas/ChangeLog
index 2ae7ea51c5ce..0838047796a7 100644
--- a/media-libs/nas/ChangeLog
+++ b/media-libs/nas/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for media-libs/nas
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/nas/ChangeLog,v 1.18 2004/04/13 17:17:16 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/nas/ChangeLog,v 1.19 2004/04/13 17:32:47 eradicator Exp $
+
+ 13 Apr 2004; Jeremy Huddleston <eradicator@gentoo.org> nas-1.6c-r1.ebuild:
+ Remove the static lib if USE=-static
*nas-1.5-r1 (13 Apr 2004)
diff --git a/media-libs/nas/nas-1.6c-r1.ebuild b/media-libs/nas/nas-1.6c-r1.ebuild
index 6a153874c651..3d908bc9a4fe 100644
--- a/media-libs/nas/nas-1.6c-r1.ebuild
+++ b/media-libs/nas/nas-1.6c-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/nas/nas-1.6c-r1.ebuild,v 1.4 2004/04/13 16:12:41 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/nas/nas-1.6c-r1.ebuild,v 1.5 2004/04/13 17:32:47 eradicator Exp $
DESCRIPTION="Network Audio System"
SRC_URI="http://radscan.com/nas/${P}.src.tar.gz"
@@ -10,7 +10,7 @@ SLOT="0"
LICENSE="X11"
KEYWORDS="x86 ~sparc ~ppc ~hppa ~alpha ~amd64 ~ia64 ~mips"
-IUSE=""
+IUSE="static"
# This is ridculuous, we only need xmkmf, but no other package
# provides it. 20020607 (Seemant): Actually, the homepage says it needs
@@ -44,6 +44,9 @@ src_install () {
mv ${D}/etc/nas/nasd.conf.eg ${D}/etc/nas/nasd.conf
dosed 's,\(MixerInit.*\)"\(.*\)",\1"no",' /etc/nas/nasd.conf
+ # Remove the static lib
+ use static || rm ${D}/usr/X11R6/lib/libaudio.a
+
insinto /etc/conf.d
newins ${FILESDIR}/nas.conf.d nas
exeinto /etc/init.d