diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-08-15 06:31:49 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-08-15 06:31:49 +0000 |
commit | 809e2392f22afad20f1f30d2271e9fbbb7ca2cbf (patch) | |
tree | d5ad0813318155f769e3850ed8b12e2f5b169708 /games-emulation | |
parent | Patch to change the default data path to /var/lib/setiathome where gentoo put... (diff) | |
download | historical-809e2392f22afad20f1f30d2271e9fbbb7ca2cbf.tar.gz historical-809e2392f22afad20f1f30d2271e9fbbb7ca2cbf.tar.bz2 historical-809e2392f22afad20f1f30d2271e9fbbb7ca2cbf.zip |
make ARCH happy #56763
Diffstat (limited to 'games-emulation')
-rw-r--r-- | games-emulation/psemu-peopssoftgpu/ChangeLog | 6 | ||||
-rw-r--r-- | games-emulation/psemu-peopssoftgpu/Manifest | 10 | ||||
-rw-r--r-- | games-emulation/psemu-peopssoftgpu/psemu-peopssoftgpu-1.15.ebuild | 22 |
3 files changed, 22 insertions, 16 deletions
diff --git a/games-emulation/psemu-peopssoftgpu/ChangeLog b/games-emulation/psemu-peopssoftgpu/ChangeLog index d0b2a62ee1a6..a444fc460db9 100644 --- a/games-emulation/psemu-peopssoftgpu/ChangeLog +++ b/games-emulation/psemu-peopssoftgpu/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for games-emulation/psemu-peopssoftgpu # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-emulation/psemu-peopssoftgpu/ChangeLog,v 1.5 2004/06/24 22:34:59 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-emulation/psemu-peopssoftgpu/ChangeLog,v 1.6 2004/08/15 06:31:49 vapier Exp $ + + 15 Aug 2004; Mike Frysinger <vapier@gentoo.org> + psemu-peopssoftgpu-1.15.ebuild: + Remove all the x86-specifc code when ARCH != x86 #56763. 03 Jun 2004; Aron Griffis <agriffis@gentoo.org> psemu-peopssoftgpu-1.15.ebuild: diff --git a/games-emulation/psemu-peopssoftgpu/Manifest b/games-emulation/psemu-peopssoftgpu/Manifest index 1292cf052838..16fdb414da50 100644 --- a/games-emulation/psemu-peopssoftgpu/Manifest +++ b/games-emulation/psemu-peopssoftgpu/Manifest @@ -1,15 +1,15 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -MD5 a66a3367bcff359e36719aa202e51cc3 ChangeLog 1608 -MD5 028eec32450010b355fad9013b7c7a93 psemu-peopssoftgpu-1.15.ebuild 1375 +MD5 4cf78553e3e69ab08c7f863055e8dea4 ChangeLog 1750 +MD5 99763a19e9d7d9959f2cab3981865858 psemu-peopssoftgpu-1.15.ebuild 1436 MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158 MD5 d7d6d0e073fab50e7fc57d7efe5dcf31 files/1.15-makefile-cflags.patch 971 MD5 2bb8283c0041934b8dcf50003f408ea0 files/digest-psemu-peopssoftgpu-1.15 67 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.9.10 (GNU/Linux) -iD8DBQFBHwELHTu7gpaalycRAtdCAKC9E0qD9heTZcNn581j1LnB+M7juACeJu8U -gIWanz0Fvt3hbeiwmY+GOQE= -=z2Op +iD8DBQFBHwORHTu7gpaalycRAviGAJwNGBsoxuMYCMlihjer4r0FtUx3TACgitMF +fxPh7mo2jcLGQCtKncJV7ZE= +=maCa -----END PGP SIGNATURE----- diff --git a/games-emulation/psemu-peopssoftgpu/psemu-peopssoftgpu-1.15.ebuild b/games-emulation/psemu-peopssoftgpu/psemu-peopssoftgpu-1.15.ebuild index 4f59a374d36d..65219d120973 100644 --- a/games-emulation/psemu-peopssoftgpu/psemu-peopssoftgpu-1.15.ebuild +++ b/games-emulation/psemu-peopssoftgpu/psemu-peopssoftgpu-1.15.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-emulation/psemu-peopssoftgpu/psemu-peopssoftgpu-1.15.ebuild,v 1.6 2004/08/15 06:21:02 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-emulation/psemu-peopssoftgpu/psemu-peopssoftgpu-1.15.ebuild,v 1.7 2004/08/15 06:31:49 vapier Exp $ inherit games eutils @@ -25,17 +25,19 @@ S=${WORKDIR} src_unpack() { unpack ${A} epatch ${FILESDIR}/${PV}-makefile-cflags.patch + + if [ "${ARCH}" != "x86" ] ; then + cd src + sed -i -e "s/^CPU = i386/CPU = ${ARCH}/g" makes/mk.x11 + sed -i \ + -e "s/OBJECTS.*i386.o//g" \ + -e "s/-D__i386__//g" makes/mk.fpse + sed -i -e '/^XF86VM =/s:TRUE:FALSE:' makes/mk.x11 + fi } src_compile() { cd src - - if [ "${ARCH}" = "ppc" ]; then - sed -i -e "s/^CPU\ =\ i386/CPU = PowerPC/g" makes/mk.x11 - sed -i -e "s/OBJECTS.*i386.o//g" makes/mk.fpse - sed -i -e "s/-D__i386__//g" makes/mk.fpse - fi - emake OPTFLAGS="${CFLAGS}" || die "x11 build failed" if use sdl ; then @@ -51,8 +53,8 @@ src_install() { doins gpuPeopsSoftX.cfg cd src exeinto ${GAMES_LIBDIR}/psemu/plugins - doexe libgpuPeops* + doexe libgpuPeops* || die exeinto ${GAMES_LIBDIR}/psemu/cfg - doexe cfgPeopsSoft + doexe cfgPeopsSoft || die prepgamesdirs } |