summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-10-14 00:26:04 +0000
committerMike Frysinger <vapier@gentoo.org>2003-10-14 00:26:04 +0000
commit0eb912a030e1a03e7f3c8d5a03ea949a1f55176d (patch)
tree13552d5d973ced2bee9bb3fd55c85ffe25790aae /games-arcade/crack-attack
parentUpdate CVS snapshot (diff)
downloadgentoo-2-0eb912a030e1a03e7f3c8d5a03ea949a1f55176d.tar.gz
gentoo-2-0eb912a030e1a03e7f3c8d5a03ea949a1f55176d.tar.bz2
gentoo-2-0eb912a030e1a03e7f3c8d5a03ea949a1f55176d.zip
filter flag fix #30483
Diffstat (limited to 'games-arcade/crack-attack')
-rw-r--r--games-arcade/crack-attack/ChangeLog5
-rw-r--r--games-arcade/crack-attack/crack-attack-1.1.9.ebuild14
2 files changed, 14 insertions, 5 deletions
diff --git a/games-arcade/crack-attack/ChangeLog b/games-arcade/crack-attack/ChangeLog
index a1e5858deb8c..09b2a593b5ef 100644
--- a/games-arcade/crack-attack/ChangeLog
+++ b/games-arcade/crack-attack/ChangeLog
@@ -1,9 +1,12 @@
# ChangeLog for games-arcade/crack-attack
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/crack-attack/ChangeLog,v 1.3 2003/10/06 03:43:48 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/crack-attack/ChangeLog,v 1.4 2003/10/14 00:26:04 vapier Exp $
*crack-attack-1.1.9 (05 Oct 2003)
+ 13 Oct 2003; Mike Frysinger <vapier@gentoo.org> :
+ Add filter-flags to remove march=pentium3 #30483.
+
05 Oct 2003; Michael Sterrett <mr_bones_@gentoo.org>
crack-attack-1.1.9.ebuild:
version bump; I removed the gcc33 patch since it seems to have been
diff --git a/games-arcade/crack-attack/crack-attack-1.1.9.ebuild b/games-arcade/crack-attack/crack-attack-1.1.9.ebuild
index f05e069190af..4b2813ed072c 100644
--- a/games-arcade/crack-attack/crack-attack-1.1.9.ebuild
+++ b/games-arcade/crack-attack/crack-attack-1.1.9.ebuild
@@ -1,17 +1,16 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/crack-attack/crack-attack-1.1.9.ebuild,v 1.1 2003/10/06 03:43:48 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/crack-attack/crack-attack-1.1.9.ebuild,v 1.2 2003/10/14 00:26:04 vapier Exp $
-inherit games flag-o-matic
-append-flags -DGL_GLEXT_LEGACY
+inherit games flag-o-matic gcc
DESCRIPTION="Addictive OpenGL-based block game"
HOMEPAGE="http://aluminumangel.org/attack/"
SRC_URI="http://aluminumangel.org/cgi-bin/download_counter.cgi?attack_linux+attack/${P}.tar.gz"
LICENSE="GPL-2"
-KEYWORDS="x86"
SLOT="0"
+KEYWORDS="x86"
RDEPEND="media-libs/glut"
DEPEND="${RDEPEND}
@@ -25,6 +24,13 @@ src_unpack() {
die "sed src/Makefile.in failed"
}
+src_compile() {
+ append-flags -DGL_GLEXT_LEGACY
+ [ "`gcc-fullversion`" == "3.2.3" ] && filter-flags -march=pentium3
+ egamesconf || die
+ emake || die
+}
+
src_install() {
make DESTDIR=${D} install || die "make install failed"
dodoc AUTHORS ChangeLog README || die "dodoc failed"