summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2009-01-29 02:00:17 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2009-01-29 02:00:17 +0000
commit54bdb2a736b378f673ad3d7cc407dc7fa0d86454 (patch)
tree8b6dcb5d76cf2e5cc917e97f830c7917fa4c7073 /games-action/xbomber
parentclean up (diff)
downloadgentoo-2-54bdb2a736b378f673ad3d7cc407dc7fa0d86454.tar.gz
gentoo-2-54bdb2a736b378f673ad3d7cc407dc7fa0d86454.tar.bz2
gentoo-2-54bdb2a736b378f673ad3d7cc407dc7fa0d86454.zip
EAPI=2; respect CC
(Portage version: 2.1.6.4/cvs/Linux 2.6.28.1 i686)
Diffstat (limited to 'games-action/xbomber')
-rw-r--r--games-action/xbomber/ChangeLog7
-rw-r--r--games-action/xbomber/xbomber-101.ebuild19
2 files changed, 16 insertions, 10 deletions
diff --git a/games-action/xbomber/ChangeLog b/games-action/xbomber/ChangeLog
index ceed7d5a17f6..3335454595ee 100644
--- a/games-action/xbomber/ChangeLog
+++ b/games-action/xbomber/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-action/xbomber
-# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/xbomber/ChangeLog,v 1.11 2006/12/01 20:10:47 wolf31o2 Exp $
+# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-action/xbomber/ChangeLog,v 1.12 2009/01/29 02:00:17 mr_bones_ Exp $
+
+ 29 Jan 2009; Michael Sterrett <mr_bones_@gentoo.org> xbomber-101.ebuild:
+ EAPI=2; respect CC
01 Dec 2006; Chris Gianelloni <wolf31o2@gentoo.org> xbomber-101.ebuild:
Removing old virtual/x11 dependency.
diff --git a/games-action/xbomber/xbomber-101.ebuild b/games-action/xbomber/xbomber-101.ebuild
index e41c35871d11..58e29c7e4a86 100644
--- a/games-action/xbomber/xbomber-101.ebuild
+++ b/games-action/xbomber/xbomber-101.ebuild
@@ -1,7 +1,8 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/xbomber/xbomber-101.ebuild,v 1.13 2006/12/01 20:10:47 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-action/xbomber/xbomber-101.ebuild,v 1.14 2009/01/29 02:00:17 mr_bones_ Exp $
+EAPI=2
inherit eutils games
DESCRIPTION="Bomberman clone w/multiplayer support"
@@ -15,11 +16,12 @@ IUSE=""
DEPEND="x11-libs/libX11"
-src_unpack() {
- unpack ${A}
- cd "${S}"
+src_prepare() {
sed -i \
- -e "s:X386:X11R6:" Makefile \
+ -e "/^CC/d" \
+ -e 's/gcc/$(CC)/g' \
+ -e "s:X386:X11R6:" \
+ Makefile \
|| die "sed failed"
sed -i \
-e "s:data/%s:${GAMES_DATADIR}/${PN}/%s:" bomber.c \
@@ -27,8 +29,9 @@ src_unpack() {
sed -i \
-e "s:=\"data\":=\"${GAMES_DATADIR}/${PN}\":" sound.c \
|| die "sed failed"
- epatch "${FILESDIR}"/${P}-va_list.patch
- epatch "${FILESDIR}"/${P}-gcc4.patch
+ epatch \
+ "${FILESDIR}"/${P}-va_list.patch \
+ "${FILESDIR}"/${P}-gcc4.patch
}
src_compile() {