summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2015-12-18 05:11:22 -0500
committerMichael Sterrett <mr_bones_@gentoo.org>2015-12-18 05:11:22 -0500
commitce1826ed555b2efa38171fb936a6eae0467bacc5 (patch)
tree5d91fa7b66c62ffd374761e0814a50f8fa26e604 /games-action
parentadd some slot deps (diff)
downloadgentoo-ce1826ed555b2efa38171fb936a6eae0467bacc5.tar.gz
gentoo-ce1826ed555b2efa38171fb936a6eae0467bacc5.tar.bz2
gentoo-ce1826ed555b2efa38171fb936a6eae0467bacc5.zip
EAPI=5; minor tidying
Package-Manager: portage-2.2.24
Diffstat (limited to 'games-action')
-rw-r--r--games-action/xbomber/xbomber-101.ebuild13
1 files changed, 5 insertions, 8 deletions
diff --git a/games-action/xbomber/xbomber-101.ebuild b/games-action/xbomber/xbomber-101.ebuild
index a191da65544..60d129da0bb 100644
--- a/games-action/xbomber/xbomber-101.ebuild
+++ b/games-action/xbomber/xbomber-101.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI=4
+EAPI=5
inherit eutils games
DESCRIPTION="Bomberman clone w/multiplayer support"
@@ -15,21 +15,18 @@ KEYWORDS="amd64 ~ppc x86"
IUSE=""
DEPEND="x11-libs/libX11"
-RDEPEND="${DEPEND}"
+RDEPEND=${DEPEND}
src_prepare() {
sed -i \
-e "/^CC/d" \
-e 's/gcc/$(CC)/g' \
-e "s:X386:X11R6:" \
- Makefile \
- || die "sed failed"
+ Makefile || die
sed -i \
- -e "s:data/%s:${GAMES_DATADIR}/${PN}/%s:" bomber.c \
- || die "sed failed"
+ -e "s:data/%s:${GAMES_DATADIR}/${PN}/%s:" bomber.c || die
sed -i \
- -e "s:=\"data\":=\"${GAMES_DATADIR}/${PN}\":" sound.c \
- || die "sed failed"
+ -e "s:=\"data\":=\"${GAMES_DATADIR}/${PN}\":" sound.c || die
epatch \
"${FILESDIR}"/${P}-va_list.patch \
"${FILESDIR}"/${P}-gcc4.patch \