summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2009-01-29 08:46:09 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2009-01-29 08:46:09 +0000
commita086a4237b0e32eac00532b32b237a0dd584c96c (patch)
treedf491f4e137aa47085b79125b343ccfd157db7ee /games-misc/bsd-games-non-free
parentEAPI=2; respect CC (diff)
downloadgentoo-2-a086a4237b0e32eac00532b32b237a0dd584c96c.tar.gz
gentoo-2-a086a4237b0e32eac00532b32b237a0dd584c96c.tar.bz2
gentoo-2-a086a4237b0e32eac00532b32b237a0dd584c96c.zip
EAPI=2; respect CC
(Portage version: 2.1.6.4/cvs/Linux 2.6.28.1 i686)
Diffstat (limited to 'games-misc/bsd-games-non-free')
-rw-r--r--games-misc/bsd-games-non-free/ChangeLog8
-rw-r--r--games-misc/bsd-games-non-free/bsd-games-non-free-2.17.ebuild20
2 files changed, 19 insertions, 9 deletions
diff --git a/games-misc/bsd-games-non-free/ChangeLog b/games-misc/bsd-games-non-free/ChangeLog
index 47808cb2a78b..b0aa0192f87e 100644
--- a/games-misc/bsd-games-non-free/ChangeLog
+++ b/games-misc/bsd-games-non-free/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-misc/bsd-games-non-free
-# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-misc/bsd-games-non-free/ChangeLog,v 1.13 2008/03/13 18:34:33 wolf31o2 Exp $
+# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-misc/bsd-games-non-free/ChangeLog,v 1.14 2009/01/29 08:46:09 mr_bones_ Exp $
+
+ 29 Jan 2009; Michael Sterrett <mr_bones_@gentoo.org>
+ bsd-games-non-free-2.17.ebuild:
+ EAPI=2; respect CC
13 Mar 2008; Chris Gianelloni <wolf31o2@gentoo.org>
bsd-games-non-free-2.17.ebuild:
diff --git a/games-misc/bsd-games-non-free/bsd-games-non-free-2.17.ebuild b/games-misc/bsd-games-non-free/bsd-games-non-free-2.17.ebuild
index 38aef98f870a..ca3f2785b21c 100644
--- a/games-misc/bsd-games-non-free/bsd-games-non-free-2.17.ebuild
+++ b/games-misc/bsd-games-non-free/bsd-games-non-free-2.17.ebuild
@@ -1,7 +1,8 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-misc/bsd-games-non-free/bsd-games-non-free-2.17.ebuild,v 1.4 2008/03/13 18:34:33 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-misc/bsd-games-non-free/bsd-games-non-free-2.17.ebuild,v 1.5 2009/01/29 08:46:09 mr_bones_ Exp $
+EAPI=2
inherit games
DESCRIPTION="collection of games from NetBSD"
@@ -22,17 +23,22 @@ DEPEND="${RDEPEND}
# Set GAMES_TO_BUILD variable to whatever you want
export GAMES_TO_BUILD=${GAMES_TO_BUILD:="rogue"}
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
+src_prepare() {
+ sed -i \
+ -e '/^CC :/d' \
+ -e '/^CXX :/d' \
+ Makeconfig.in \
+ || die "sed failed"
cp "${FILESDIR}"/config.params-gentoo config.params || die "cp failed"
echo bsd_games_cfg_usrlibdir=\"$(games_get_libdir)\" >> ./config.params
echo bsd_games_cfg_build_dirs=\"${GAMES_TO_BUILD}\" >> ./config.params
}
-src_compile() {
+src_configure() {
./configure || die
+}
+
+src_compile() {
emake OPTIMIZE="${CFLAGS}" || die "emake failed"
}