diff options
author | 2004-04-20 08:12:01 +0000 | |
---|---|---|
committer | 2004-04-20 08:12:01 +0000 | |
commit | c91bea2c4157ea8d9612572eeef4c499a9cb4e24 (patch) | |
tree | 8b3e033f8d128cbc27ef51f6022adeed66a4c973 /media-libs/alsa-lib | |
parent | gcc 3.3 fixen for bug #47914. (Manifest recommit) (diff) | |
download | gentoo-2-c91bea2c4157ea8d9612572eeef4c499a9cb4e24.tar.gz gentoo-2-c91bea2c4157ea8d9612572eeef4c499a9cb4e24.tar.bz2 gentoo-2-c91bea2c4157ea8d9612572eeef4c499a9cb4e24.zip |
USE=static option for bug #48233.
Diffstat (limited to 'media-libs/alsa-lib')
-rw-r--r-- | media-libs/alsa-lib/ChangeLog | 6 | ||||
-rw-r--r-- | media-libs/alsa-lib/alsa-lib-1.0.4.ebuild | 18 |
2 files changed, 20 insertions, 4 deletions
diff --git a/media-libs/alsa-lib/ChangeLog b/media-libs/alsa-lib/ChangeLog index c40eca139370..0ac46a6ac009 100644 --- a/media-libs/alsa-lib/ChangeLog +++ b/media-libs/alsa-lib/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-libs/alsa-lib # Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/alsa-lib/ChangeLog,v 1.63 2004/04/17 08:14:44 lv Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/alsa-lib/ChangeLog,v 1.64 2004/04/20 08:12:01 eradicator Exp $ + + 20 Apr 2004; Jeremy Huddleston <eradicator@gentoo.org> + alsa-lib-1.0.4.ebuild: + USE=static option for bug #48233. 17 Apr 2004; Travis Tilley <lv@gentoo.org> alsa-lib-1.0.3b-r2.ebuild: stable on amd64 diff --git a/media-libs/alsa-lib/alsa-lib-1.0.4.ebuild b/media-libs/alsa-lib/alsa-lib-1.0.4.ebuild index dd08ff529206..2d9262ad9703 100644 --- a/media-libs/alsa-lib/alsa-lib-1.0.4.ebuild +++ b/media-libs/alsa-lib/alsa-lib-1.0.4.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/alsa-lib/alsa-lib-1.0.4.ebuild,v 1.1 2004/04/04 19:01:18 eradicator Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/alsa-lib/alsa-lib-1.0.4.ebuild,v 1.2 2004/04/20 08:12:01 eradicator Exp $ inherit libtool @@ -11,7 +11,7 @@ SLOT="0" KEYWORDS="~x86 ~ppc ~alpha ~amd64 -sparc ~ia64" LICENSE="GPL-2 LGPL-2.1" -IUSE="jack" +IUSE="jack static" DEPEND=">=sys-devel/automake-1.7.2 >=sys-devel/autoconf-2.57-r1" @@ -31,8 +31,20 @@ src_unpack() { elibtoolize } +src_compile() { + local myconf="" + + # Can't do both according to alsa docs and bug #48233 + if use static; then + myconf="--enable-static=yes --enable-shared=no" + fi + + econf ${myconf} || die + emake || die +} + src_install() { - make DESTDIR=${D} install || die "make install failed" + make DESTDIR="${D}" install || die "make install failed" #This alsa version does not provide libasound.so.1 #Without this library just about everything even remotely |