diff options
author | Timothy Redaelli <drizzt@gentoo.org> | 2007-02-16 23:57:34 +0000 |
---|---|---|
committer | Timothy Redaelli <drizzt@gentoo.org> | 2007-02-16 23:57:34 +0000 |
commit | b370cf9d1fcc227ae10b8861955f518a97455b51 (patch) | |
tree | 4a45b53dfa1eed77417ed6391f470c684a6dc72f /games-emulation/zsnes | |
parent | Masked use ao for zsnes (diff) | |
download | gentoo-2-b370cf9d1fcc227ae10b8861955f518a97455b51.tar.gz gentoo-2-b370cf9d1fcc227ae10b8861955f518a97455b51.tar.bz2 gentoo-2-b370cf9d1fcc227ae10b8861955f518a97455b51.zip |
Add use ao to amd64 package.use.mask
(Portage version: 2.1.2-r4)
Diffstat (limited to 'games-emulation/zsnes')
-rw-r--r-- | games-emulation/zsnes/ChangeLog | 5 | ||||
-rw-r--r-- | games-emulation/zsnes/zsnes-1.51.ebuild | 16 |
2 files changed, 9 insertions, 12 deletions
diff --git a/games-emulation/zsnes/ChangeLog b/games-emulation/zsnes/ChangeLog index 8abaa24859c8..716f831f8703 100644 --- a/games-emulation/zsnes/ChangeLog +++ b/games-emulation/zsnes/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for games-emulation/zsnes # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-emulation/zsnes/ChangeLog,v 1.27 2007/01/31 14:40:50 drizzt Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-emulation/zsnes/ChangeLog,v 1.28 2007/02/16 23:57:34 drizzt Exp $ + + 16 Feb 2007; Timothy Redaelli <drizzt@gentoo.org> zsnes-1.51.ebuild: + Add use ao to amd64 package.use.mask 31 Jan 2007; Timothy Redaelli <drizzt@gentoo.org> zsnes-1.51.ebuild: Fixed ao configure argument, thanks to Andreas Fackler for reporting wrt bug diff --git a/games-emulation/zsnes/zsnes-1.51.ebuild b/games-emulation/zsnes/zsnes-1.51.ebuild index 85b6854532e1..c0484919a620 100644 --- a/games-emulation/zsnes/zsnes-1.51.ebuild +++ b/games-emulation/zsnes/zsnes-1.51.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-emulation/zsnes/zsnes-1.51.ebuild,v 1.6 2007/01/31 15:35:47 nyhm Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-emulation/zsnes/zsnes-1.51.ebuild,v 1.7 2007/02/16 23:57:34 drizzt Exp $ inherit eutils autotools flag-o-matic toolchain-funcs games @@ -16,21 +16,15 @@ IUSE="ao custom-cflags opengl png" RDEPEND="media-libs/libsdl >=sys-libs/zlib-1.2.3-r1 amd64? ( app-emulation/emul-linux-x86-sdl ) - !amd64? ( ao? ( media-libs/libao ) ) + ao? ( media-libs/libao ) opengl? ( virtual/opengl ) png? ( media-libs/libpng )" DEPEND="${RDEPEND} - dev-lang/nasm" + dev-lang/nasm + amd64? ( >=sys-apps/portage-2.1 )" S=${WORKDIR}/${PN}_${PV//./_}/src -pkg_setup() { - games_pkg_setup - if use ao && [[ "${ARCH}" = "amd64" ]]; then - ewarn "libao use flag is disabled on amd64 since deps cannot be met." - fi -} - src_unpack() { unpack ${A} cd "${S}" @@ -63,7 +57,7 @@ src_compile() { local myconf="" use custom-cflags && myconf="--disable-cpucheck force_arch=no" - if use ao && [[ "${ARCH}" != amd64 ]]; then + if use ao; then myconf="${myconf} --enable-libao" else myconf="${myconf} --disable-libao" |