diff options
author | David Holm <dholm@gentoo.org> | 2004-02-13 15:38:00 +0000 |
---|---|---|
committer | David Holm <dholm@gentoo.org> | 2004-02-13 15:38:00 +0000 |
commit | 6f6827f5a61385b10907b388a1f119251f4f7f2e (patch) | |
tree | 9a0c299218b0fbf83913fe7d8dc8bbae97609288 /games-emulation | |
parent | Added to ~ppc (Manifest recommit) (diff) | |
download | gentoo-2-6f6827f5a61385b10907b388a1f119251f4f7f2e.tar.gz gentoo-2-6f6827f5a61385b10907b388a1f119251f4f7f2e.tar.bz2 gentoo-2-6f6827f5a61385b10907b388a1f119251f4f7f2e.zip |
Fixed compilation on non-x86 and added to ~ppc
Diffstat (limited to 'games-emulation')
-rw-r--r-- | games-emulation/psemu-peopssoftgpu/ChangeLog | 7 | ||||
-rw-r--r-- | games-emulation/psemu-peopssoftgpu/psemu-peopssoftgpu-1.15.ebuild | 13 |
2 files changed, 14 insertions, 6 deletions
diff --git a/games-emulation/psemu-peopssoftgpu/ChangeLog b/games-emulation/psemu-peopssoftgpu/ChangeLog index beabb3f84ac1..065a94e1f827 100644 --- a/games-emulation/psemu-peopssoftgpu/ChangeLog +++ b/games-emulation/psemu-peopssoftgpu/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for games-emulation/psemu-peopssoftgpu -# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-emulation/psemu-peopssoftgpu/ChangeLog,v 1.2 2003/09/10 16:03:46 vapier Exp $ +# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-emulation/psemu-peopssoftgpu/ChangeLog,v 1.3 2004/02/13 15:38:00 dholm Exp $ + + 13 Feb 2004; David Holm <dholm@gentoo.org> psemu-peopssoftgpu-1.15.ebuild: + Added some modifications to make it compile on non-x86 archs and added to ~ppc. *psemu-peopssoftgpu-1.15 (14 Aug 2003) diff --git a/games-emulation/psemu-peopssoftgpu/psemu-peopssoftgpu-1.15.ebuild b/games-emulation/psemu-peopssoftgpu/psemu-peopssoftgpu-1.15.ebuild index 2f0b387a647e..a8bc5eeabf7f 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-2003 Gentoo Technologies, Inc. +# Copyright 1999-2004 Gentoo Technologies, Inc. # 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.1 2003/09/09 16:26:50 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-emulation/psemu-peopssoftgpu/psemu-peopssoftgpu-1.15.ebuild,v 1.2 2004/02/13 15:38:00 dholm Exp $ inherit games eutils @@ -10,14 +10,14 @@ SRC_URI="mirror://sourceforge/peops/PeopsSoftGpu${PV//.}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="x86 -ppc" +KEYWORDS="x86 ~ppc" IUSE="sdl" DEPEND="=x11-libs/gtk+-1* dev-util/pkgconfig sdl? ( media-libs/libsdl ) virtual/x11 - dev-lang/nasm" + x86? dev-lang/nasm" S=${WORKDIR} @@ -29,6 +29,11 @@ src_unpack() { 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 + fi + emake OPTFLAGS="${CFLAGS}" || die "x11 build failed" if [ `use sdl` ] ; then |