diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2008-10-13 17:10:02 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2008-10-13 17:10:02 +0000 |
commit | 584510a99d6b85e8a099d4711a15fb6af706b222 (patch) | |
tree | a84c3cde28095a24b9ae652c66daf3aaf486b5ab /games-emulation | |
parent | Automated update of use.local.desc (diff) | |
download | gentoo-2-584510a99d6b85e8a099d4711a15fb6af706b222.tar.gz gentoo-2-584510a99d6b85e8a099d4711a15fb6af706b222.tar.bz2 gentoo-2-584510a99d6b85e8a099d4711a15fb6af706b222.zip |
fix amd64 building (bug #241504)
(Portage version: 2.1.4.5)
Diffstat (limited to 'games-emulation')
-rw-r--r-- | games-emulation/pcsx2/ChangeLog | 5 | ||||
-rw-r--r-- | games-emulation/pcsx2/pcsx2-0.8.1.ebuild | 9 |
2 files changed, 11 insertions, 3 deletions
diff --git a/games-emulation/pcsx2/ChangeLog b/games-emulation/pcsx2/ChangeLog index 1983a4905572..f532053ff199 100644 --- a/games-emulation/pcsx2/ChangeLog +++ b/games-emulation/pcsx2/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for games-emulation/pcsx2 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-emulation/pcsx2/ChangeLog,v 1.14 2008/02/29 19:04:47 carlo Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-emulation/pcsx2/ChangeLog,v 1.15 2008/10/13 17:10:02 mr_bones_ Exp $ + + 13 Oct 2008; Michael Sterrett <mr_bones_@gentoo.org> pcsx2-0.8.1.ebuild: + fix amd64 building (bug #241504) 29 Feb 2008; Carsten Lohrke <carlo@gentoo.org> pcsx2-0.8.1.ebuild: Remove icon extension from desktop entry to match Icon Theme Specification. diff --git a/games-emulation/pcsx2/pcsx2-0.8.1.ebuild b/games-emulation/pcsx2/pcsx2-0.8.1.ebuild index 84abf5665d67..440774b485e7 100644 --- a/games-emulation/pcsx2/pcsx2-0.8.1.ebuild +++ b/games-emulation/pcsx2/pcsx2-0.8.1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-emulation/pcsx2/pcsx2-0.8.1.ebuild,v 1.10 2008/02/29 19:04:47 carlo Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-emulation/pcsx2/pcsx2-0.8.1.ebuild,v 1.11 2008/10/13 17:10:02 mr_bones_ Exp $ inherit eutils toolchain-funcs games @@ -45,7 +45,12 @@ src_unpack() { } src_compile() { - emake -C Linux OPTIMIZE="${CFLAGS}" || die "emake failed" + local CPU=i386 + + if use amd64; then + CPU=x86_64 + fi + emake -C Linux OPTIMIZE="${CFLAGS}" CPU="${CPU}" || die "emake failed" } src_install() { |