summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-06-20 19:17:46 +0000
committerMike Frysinger <vapier@gentoo.org>2006-06-20 19:17:46 +0000
commit52436832284ac8c8c0ab2c95ded55841dc6525f4 (patch)
tree921b76a82cd67127981acb2ab4c9a8728d0968b8 /games-emulation
parentuse cleaner method of supporting multilib (diff)
downloadgentoo-2-52436832284ac8c8c0ab2c95ded55841dc6525f4.tar.gz
gentoo-2-52436832284ac8c8c0ab2c95ded55841dc6525f4.tar.bz2
gentoo-2-52436832284ac8c8c0ab2c95ded55841dc6525f4.zip
use cleaner method of supporting multilib
(Portage version: 2.1.1_pre1-r1)
Diffstat (limited to 'games-emulation')
-rw-r--r--games-emulation/snes9x/snes9x-1.43-r1.ebuild9
1 files changed, 3 insertions, 6 deletions
diff --git a/games-emulation/snes9x/snes9x-1.43-r1.ebuild b/games-emulation/snes9x/snes9x-1.43-r1.ebuild
index bfc59a026a17..3e44e18e4326 100644
--- a/games-emulation/snes9x/snes9x-1.43-r1.ebuild
+++ b/games-emulation/snes9x/snes9x-1.43-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 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.8 2006/04/13 20:33:52 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/snes9x/snes9x-1.43-r1.ebuild,v 1.9 2006/06/20 19:17:46 vapier Exp $
# 3dfx support (glide) is disabled because it requires
# glide-v2 while we only provide glide-v3 in portage
@@ -36,11 +36,6 @@ DEPEND="${RDEPEND}
S=${WORKDIR}/${P}-src
-pkg_setup() {
- games_pkg_setup
- use amd64 && [[ -z ${NATIVE_AMD64_BUILD_PLZ} ]] && has_multilib_profile && ABI=x86
-}
-
src_unpack() {
unpack ${A}
cd "${S}"/snes9x
@@ -64,6 +59,8 @@ src_unpack() {
}
src_compile() {
+ [[ -z ${NATIVE_AMD64_BUILD_PLZ} ]] && use amd64 && multilib_toolchain_setup x86
+
local vidconf=
local target=
local vid=