summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-05-16 06:08:12 +0000
committerMike Frysinger <vapier@gentoo.org>2004-05-16 06:08:12 +0000
commitdfac9ffceb9d0c8648e6d9cd8c233f1d9fdf6e90 (patch)
tree3fd3fd8eb5806c72bfb8a4bafe3c7d403ae8a938
parentstupid python-2.2 patch (diff)
downloadhistorical-dfac9ffceb9d0c8648e6d9cd8c233f1d9fdf6e90.tar.gz
historical-dfac9ffceb9d0c8648e6d9cd8c233f1d9fdf6e90.tar.bz2
historical-dfac9ffceb9d0c8648e6d9cd8c233f1d9fdf6e90.zip
Make sure to filter-flags -fstack-protector #51116 by Alexander Kahl/Peter
Jensen
-rw-r--r--games-strategy/ufo-ai/ChangeLog6
-rw-r--r--games-strategy/ufo-ai/ufo-ai-0.10.040218.ebuild30
2 files changed, 21 insertions, 15 deletions
diff --git a/games-strategy/ufo-ai/ChangeLog b/games-strategy/ufo-ai/ChangeLog
index 34b069034582..58e0dada1fa8 100644
--- a/games-strategy/ufo-ai/ChangeLog
+++ b/games-strategy/ufo-ai/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-strategy/ufo-ai
# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/ufo-ai/ChangeLog,v 1.6 2004/03/11 22:08:09 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/ufo-ai/ChangeLog,v 1.7 2004/05/16 06:08:12 vapier Exp $
+
+ 16 May 2004; Mike Frysinger <vapier@gentoo.org> ufo-ai-0.10.040218.ebuild:
+ Make sure to filter-flags -fstack-protector #51116 by Alexander Kahl/Peter
+ Jensen
11 Mar 2004; Chris Gianelloni <wolf31o2@gentoo.org>
ufo-ai-0.10.040218.ebuild:
diff --git a/games-strategy/ufo-ai/ufo-ai-0.10.040218.ebuild b/games-strategy/ufo-ai/ufo-ai-0.10.040218.ebuild
index c5b5dc712d2f..d2d559ad9205 100644
--- a/games-strategy/ufo-ai/ufo-ai-0.10.040218.ebuild
+++ b/games-strategy/ufo-ai/ufo-ai-0.10.040218.ebuild
@@ -1,37 +1,39 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/ufo-ai/ufo-ai-0.10.040218.ebuild,v 1.7 2004/04/14 20:27:24 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/ufo-ai/ufo-ai-0.10.040218.ebuild,v 1.8 2004/05/16 06:08:12 vapier Exp $
-inherit eutils games
+inherit eutils games flag-o-matic
DESCRIPTION="UFO: Alien Invasion - X-COM inspired strategy game"
HOMEPAGE="http://ufo.myexp.de/"
SRC_URI="http://n.ethz.ch/student/dbeyeler/download/ufoai_source_040218.zip
- http://people.ee.ethz.ch/~baepeter/linux_ufoaidemo.zip"
+ http://people.ee.ethz.ch/~baepeter/linux_ufoaidemo.zip"
-KEYWORDS="~x86 ~ppc"
-SLOT="0"
LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc"
IUSE=""
-S="${WORKDIR}"
DEPEND="virtual/glibc
- virtual/x11
- media-libs/jpeg
- media-libs/libvorbis
- media-libs/libogg"
+ virtual/x11
+ media-libs/jpeg
+ media-libs/libvorbis
+ media-libs/libogg"
+
+S=${WORKDIR}
src_unpack() {
- unpack ${A} || die "unpacking"
+ unpack ${A}
cd source/linux
epatch ${FILESDIR}/${PV}-Makefile.patch
}
src_compile() {
+ filter-flags -fstack-protector #51116
cd ${S}/source/linux
make build_release \
- OPTCFLAGS="${CFLAGS}" \
- || die "make failed"
+ OPTCFLAGS="${CFLAGS}" \
+ || die "make failed"
}
src_install() {
@@ -42,7 +44,7 @@ src_install() {
fi
exeinto ${GAMES_DATADIR}/${PN}
doexe ${S}/source/linux/release${ARCH}-glibc/{ref_gl.so,ref_glx.so,ufo} \
- || "doexe ufo"
+ || "doexe ufo"
exeinto ${GAMES_DATADIR}/${PN}/base
doexe ${S}/source/linux/release${ARCH}-glibc/game${ARCH}.so \
|| die "doexe game${ARCH}.so"