diff options
author | Aron Griffis <agriffis@gentoo.org> | 2004-06-07 22:57:48 +0000 |
---|---|---|
committer | Aron Griffis <agriffis@gentoo.org> | 2004-06-07 22:57:48 +0000 |
commit | 3cbd9d124c60d20fce58c197cad77ec783f9b029 (patch) | |
tree | 8b95351362f6349c9fab3630fc887caadc93fa8c /media-libs/libmikmod | |
parent | Fix use invocation (Manifest recommit) (diff) | |
download | gentoo-2-3cbd9d124c60d20fce58c197cad77ec783f9b029.tar.gz gentoo-2-3cbd9d124c60d20fce58c197cad77ec783f9b029.tar.bz2 gentoo-2-3cbd9d124c60d20fce58c197cad77ec783f9b029.zip |
Fix use invocation, use use_enable when appropriate
Diffstat (limited to 'media-libs/libmikmod')
-rw-r--r-- | media-libs/libmikmod/ChangeLog | 7 | ||||
-rw-r--r-- | media-libs/libmikmod/libmikmod-3.1.10-r1.ebuild | 15 | ||||
-rw-r--r-- | media-libs/libmikmod/libmikmod-3.1.10.ebuild | 16 | ||||
-rw-r--r-- | media-libs/libmikmod/libmikmod-3.1.11-r1.ebuild | 14 | ||||
-rw-r--r-- | media-libs/libmikmod/libmikmod-3.1.11.ebuild | 14 |
5 files changed, 34 insertions, 32 deletions
diff --git a/media-libs/libmikmod/ChangeLog b/media-libs/libmikmod/ChangeLog index 716b42561fcf..f07c20af05ae 100644 --- a/media-libs/libmikmod/ChangeLog +++ b/media-libs/libmikmod/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-libs/libmikmod # Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libmikmod/ChangeLog,v 1.24 2004/05/21 18:48:52 jhuebel Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/libmikmod/ChangeLog,v 1.25 2004/06/07 22:57:48 agriffis Exp $ + + 07 Jun 2004; Aron Griffis <agriffis@gentoo.org> libmikmod-3.1.10-r1.ebuild, + libmikmod-3.1.10.ebuild, libmikmod-3.1.11-r1.ebuild, + libmikmod-3.1.11.ebuild: + Fix use invocation, use use_enable when appropriate *libmikmod-3.1.11-r1 (21 May 2004) diff --git a/media-libs/libmikmod/libmikmod-3.1.10-r1.ebuild b/media-libs/libmikmod/libmikmod-3.1.10-r1.ebuild index 5b303bbc4c11..5f4a57abb3ec 100644 --- a/media-libs/libmikmod/libmikmod-3.1.10-r1.ebuild +++ b/media-libs/libmikmod/libmikmod-3.1.10-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/libmikmod/libmikmod-3.1.10-r1.ebuild,v 1.14 2004/04/08 07:35:03 eradicator Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/libmikmod/libmikmod-3.1.10-r1.ebuild,v 1.15 2004/06/07 22:57:48 agriffis Exp $ inherit gnuconfig inherit flag-o-matic @@ -20,24 +20,23 @@ LICENSE="LGPL-2.1 | LGPL-2" KEYWORDS="x86 amd64 hppa sparc ~mips alpha ia64" src_compile() { - filter-flags -Os - local myconf - myconf="--enable-af" # include AudioFile driver - [ -z `use esd` ] || myconf="${myconf} --enable-esd" - [ -z `use alsa` ] || myconf="${myconf} --enable-alsa" - [ -z `use oss` ] || myconf="${myconf} --enable-oss" + myconf="--enable-af" # include AudioFile driver + myconf="${myconf} $(use_enable esd)" + myconf="${myconf} $(use_enable alsa)" + myconf="${myconf} $(use_enable oss)" # alpha, amd64 and ia64 (at least) need gnuconfig_update gnuconfig_update + filter-flags -Os + econf ${myconf} || die emake || die } src_install() { - make DESTDIR=${D} install || die dodoc AUTHORS COPYING* NEWS README TODO diff --git a/media-libs/libmikmod/libmikmod-3.1.10.ebuild b/media-libs/libmikmod/libmikmod-3.1.10.ebuild index 338ce5ac2f9c..22adee3f6eea 100644 --- a/media-libs/libmikmod/libmikmod-3.1.10.ebuild +++ b/media-libs/libmikmod/libmikmod-3.1.10.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/libmikmod/libmikmod-3.1.10.ebuild,v 1.20 2004/04/08 07:35:03 eradicator Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/libmikmod/libmikmod-3.1.10.ebuild,v 1.21 2004/06/07 22:57:48 agriffis Exp $ inherit gnuconfig IUSE="oss esd alsa" @@ -18,23 +18,21 @@ LICENSE="LGPL-2.1 | LGPL-2" KEYWORDS="x86 ppc sparc alpha amd64" src_compile() { - local myconf - myconf="--enable-af" # include AudioFile driver - [ -z `use esd` ] || myconf="${myconf} --enable-esd" - [ -z `use alsa` ] || myconf="${myconf} --enable-alsa" - [ -z `use oss` ] || myconf="${myconf} --enable-oss" + myconf="--enable-af" # include AudioFile driver + myconf="${myconf} $(use_enable esd)" + myconf="${myconf} $(use_enable alsa)" + myconf="${myconf} $(use_enable oss)" - use alpha && gnuconfig_update - use amd64 && gnuconfig_update + # needed for alpha and amd64 + gnuconfig_update econf ${myconf} || die emake || die } src_install() { - make DESTDIR=${D} install || die dodoc AUTHORS COPYING* NEWS README TODO diff --git a/media-libs/libmikmod/libmikmod-3.1.11-r1.ebuild b/media-libs/libmikmod/libmikmod-3.1.11-r1.ebuild index 2456d38576d0..ed35f20de153 100644 --- a/media-libs/libmikmod/libmikmod-3.1.11-r1.ebuild +++ b/media-libs/libmikmod/libmikmod-3.1.11-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/libmikmod/libmikmod-3.1.11-r1.ebuild,v 1.2 2004/05/28 15:41:04 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/libmikmod/libmikmod-3.1.11-r1.ebuild,v 1.3 2004/06/07 22:57:48 agriffis Exp $ inherit gnuconfig flag-o-matic eutils @@ -18,14 +18,12 @@ DEPEND=">=media-libs/audiofile-0.2.3 esd? ( >=media-sound/esound-0.2.19 )" src_compile() { - filter-flags -Os - local myconf - myconf="--enable-af" # include AudioFile driver - use esd && myconf="${myconf} --enable-esd" - use alsa && myconf="${myconf} --enable-alsa" - use oss && myconf="${myconf} --enable-oss" + myconf="--enable-af" # include AudioFile driver + myconf="${myconf} $(use_enable esd)" + myconf="${myconf} $(use_enable alsa)" + myconf="${myconf} $(use_enable oss)" # alpha, amd64 and ia64 (at least) need gnuconfig_update gnuconfig_update @@ -33,6 +31,8 @@ src_compile() { # patch for 64bit arch defs for amd64/x86_64 use amd64 && epatch ${FILESDIR}/${P}-amd64-archdef.patch + filter-flags -Os + econf ${myconf} || die emake || die } diff --git a/media-libs/libmikmod/libmikmod-3.1.11.ebuild b/media-libs/libmikmod/libmikmod-3.1.11.ebuild index 8204a393257f..5d852377b2c5 100644 --- a/media-libs/libmikmod/libmikmod-3.1.11.ebuild +++ b/media-libs/libmikmod/libmikmod-3.1.11.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/libmikmod/libmikmod-3.1.11.ebuild,v 1.5 2004/05/14 04:09:51 geoman Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/libmikmod/libmikmod-3.1.11.ebuild,v 1.6 2004/06/07 22:57:48 agriffis Exp $ inherit gnuconfig flag-o-matic @@ -18,18 +18,18 @@ DEPEND=">=media-libs/audiofile-0.2.3 esd? ( >=media-sound/esound-0.2.19 )" src_compile() { - filter-flags -Os - local myconf - myconf="--enable-af" # include AudioFile driver - use esd && myconf="${myconf} --enable-esd" - use alsa && myconf="${myconf} --enable-alsa" - use oss && myconf="${myconf} --enable-oss" + myconf="--enable-af" # include AudioFile driver + myconf="${myconf} $(use_enable esd)" + myconf="${myconf} $(use_enable alsa)" + myconf="${myconf} $(use_enable oss)" # alpha, amd64 and ia64 (at least) need gnuconfig_update gnuconfig_update + filter-flags -Os + econf ${myconf} || die emake || die } |