From 1ab6ce680fec09c9b34047e40bc20300c043675e Mon Sep 17 00:00:00 2001 From: Danny van Dyk Date: Thu, 15 Apr 2004 14:48:48 +0000 Subject: ~amd64 --- games-action/bzflag/ChangeLog | 5 ++++- games-action/bzflag/bzflag-1.10.4.ebuild | 14 ++++++++++++-- 2 files changed, 16 insertions(+), 3 deletions(-) (limited to 'games-action') diff --git a/games-action/bzflag/ChangeLog b/games-action/bzflag/ChangeLog index 0517eddf2282..fc636a8e4b81 100644 --- a/games-action/bzflag/ChangeLog +++ b/games-action/bzflag/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for games-action/bzflag # Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-action/bzflag/ChangeLog,v 1.5 2004/01/26 11:05:49 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-action/bzflag/ChangeLog,v 1.6 2004/04/15 14:48:48 kugelfang Exp $ + + 15 Apr 2004; Danny van Dyk bzflag-1.10.4.ebuild: + Minor changes to make it work on ~amd64, marked ~amd64. *bzflag-1.10.4 (26 Jan 2004) diff --git a/games-action/bzflag/bzflag-1.10.4.ebuild b/games-action/bzflag/bzflag-1.10.4.ebuild index 6161b25a47da..81fd63558ed0 100644 --- a/games-action/bzflag/bzflag-1.10.4.ebuild +++ b/games-action/bzflag/bzflag-1.10.4.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-action/bzflag/bzflag-1.10.4.ebuild,v 1.1 2004/01/26 11:05:50 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-action/bzflag/bzflag-1.10.4.ebuild,v 1.2 2004/04/15 14:48:48 kugelfang Exp $ inherit games @@ -13,10 +13,20 @@ SRC_URI="mirror://sourceforge/bzflag/${MY_P}.tar.bz2" IUSE="" SLOT="0" LICENSE="GPL-2" -KEYWORDS="x86 ppc" +KEYWORDS="x86 ppc ~amd64" DEPEND="virtual/opengl" +src_compile () { + if [ "`use amd64`" ]; then + sed -e "s/-mcpu=\$host_cpu//" configure > configure.new + mv configure.new configure + chmod +x configure + fi + egamesconf || die + emake || die +} + src_install () { make DESTDIR=${D} install || die "make install failed" dodoc AUTHORS README.UNIX TODO README ChangeLog BUGS PORTING || \ -- cgit v1.2.3-65-gdbad