summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-06-20 19:17:03 +0000
committerMike Frysinger <vapier@gentoo.org>2006-06-20 19:17:03 +0000
commitbf3fb122ddf403190464b7da99b99fe02b18ee5c (patch)
tree2578441e02541f57cc34aaa3804429bc0b6a46a4 /games-emulation/zsnes
parentuse cleaner method of supporting multilib (diff)
downloadgentoo-2-bf3fb122ddf403190464b7da99b99fe02b18ee5c.tar.gz
gentoo-2-bf3fb122ddf403190464b7da99b99fe02b18ee5c.tar.bz2
gentoo-2-bf3fb122ddf403190464b7da99b99fe02b18ee5c.zip
use cleaner method of supporting multilib
(Portage version: 2.1.1_pre1-r1)
Diffstat (limited to 'games-emulation/zsnes')
-rw-r--r--games-emulation/zsnes/zsnes-1.42.ebuild12
1 files changed, 4 insertions, 8 deletions
diff --git a/games-emulation/zsnes/zsnes-1.42.ebuild b/games-emulation/zsnes/zsnes-1.42.ebuild
index 2d7e014663d5..4e64e501b7b7 100644
--- a/games-emulation/zsnes/zsnes-1.42.ebuild
+++ b/games-emulation/zsnes/zsnes-1.42.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/zsnes/zsnes-1.42.ebuild,v 1.12 2006/04/13 20:36:47 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/zsnes/zsnes-1.42.ebuild,v 1.13 2006/06/20 19:17:03 vapier Exp $
-inherit eutils flag-o-matic games
+inherit eutils flag-o-matic multilib games
DESCRIPTION="SNES (Super Nintendo) emulator that uses x86 assembly"
HOMEPAGE="http://www.zsnes.com/ http://ipherswipsite.com/zsnes/"
@@ -23,12 +23,7 @@ DEPEND="${RDEPEND}
sys-devel/automake
>=sys-devel/autoconf-2.58"
-S="${WORKDIR}/${PN}_${PV//./_}"
-
-pkg_setup() {
- games_pkg_setup
- use amd64 && export ABI=x86
-}
+S=${WORKDIR}/${PN}_${PV//./_}
src_unpack() {
unpack ${A}
@@ -40,6 +35,7 @@ src_unpack() {
}
src_compile() {
+ use amd64 && multilib_toolchain_setup x86
cd src
egamesconf \
$(use_enable png libpng) \