diff options
author | Simon Stelling <blubb@gentoo.org> | 2005-12-26 16:35:53 +0000 |
---|---|---|
committer | Simon Stelling <blubb@gentoo.org> | 2005-12-26 16:35:53 +0000 |
commit | 2dba911c996eac319e64cc7b9967e7567bb22bee (patch) | |
tree | 784cfefc9dcb4d5a97d07fb67bd5319989297dc5 /games-emulation/snes9x/snes9x-1.43-r1.ebuild | |
parent | Stable on alpha. (diff) | |
download | historical-2dba911c996eac319e64cc7b9967e7567bb22bee.tar.gz historical-2dba911c996eac319e64cc7b9967e7567bb22bee.tar.bz2 historical-2dba911c996eac319e64cc7b9967e7567bb22bee.zip |
fix bug 103775
Package-Manager: portage-2.0.51.22-r3
Diffstat (limited to 'games-emulation/snes9x/snes9x-1.43-r1.ebuild')
-rw-r--r-- | games-emulation/snes9x/snes9x-1.43-r1.ebuild | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/games-emulation/snes9x/snes9x-1.43-r1.ebuild b/games-emulation/snes9x/snes9x-1.43-r1.ebuild index 7c81c1e1cee5..911e3ba1ccf5 100644 --- a/games-emulation/snes9x/snes9x-1.43-r1.ebuild +++ b/games-emulation/snes9x/snes9x-1.43-r1.ebuild @@ -1,12 +1,12 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-emulation/snes9x/snes9x-1.43-r1.ebuild,v 1.2 2005/08/28 21:17:10 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-emulation/snes9x/snes9x-1.43-r1.ebuild,v 1.3 2005/12/26 16:35:53 blubb Exp $ # 3dfx support (glide) is disabled because it requires # glide-v2 while we only provide glide-v3 in portage # http://bugs.gentoo.org/show_bug.cgi?id=93097 -inherit eutils games flag-o-matic +inherit eutils games flag-o-matic multilib DESCRIPTION="Super Nintendo Entertainment System (SNES) emulator" HOMEPAGE="http://www.snes9x.com/" @@ -27,6 +27,10 @@ DEPEND="${RDEPEND} S=${WORKDIR}/${P}-src +pkg_setup() { + use amd64 && [[ -z ${NATIVE_AMD64_BUILD_PLZ} ]] && has_multilib_profile && ABI=x86 +} + src_unpack() { unpack ${A} cd "${S}"/snes9x @@ -44,12 +48,6 @@ src_unpack() { } src_compile() { - if use amd64 && [[ -z ${NATIVE_AMD64_BUILD_PLZ} ]] ; then - export ABI=x86 - append-flags -m32 - append-ldflags -m32 - fi - local vidconf= local target= local vid= |