1 |
commit: ce1826ed555b2efa38171fb936a6eae0467bacc5 |
2 |
Author: Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Dec 18 10:11:22 2015 +0000 |
4 |
Commit: Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Dec 18 10:11:22 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce1826ed |
7 |
|
8 |
EAPI=5; minor tidying |
9 |
|
10 |
Package-Manager: portage-2.2.24 |
11 |
|
12 |
games-action/xbomber/xbomber-101.ebuild | 13 +++++-------- |
13 |
1 file changed, 5 insertions(+), 8 deletions(-) |
14 |
|
15 |
diff --git a/games-action/xbomber/xbomber-101.ebuild b/games-action/xbomber/xbomber-101.ebuild |
16 |
index a191da6..60d129d 100644 |
17 |
--- a/games-action/xbomber/xbomber-101.ebuild |
18 |
+++ b/games-action/xbomber/xbomber-101.ebuild |
19 |
@@ -2,7 +2,7 @@ |
20 |
# Distributed under the terms of the GNU General Public License v2 |
21 |
# $Id$ |
22 |
|
23 |
-EAPI=4 |
24 |
+EAPI=5 |
25 |
inherit eutils games |
26 |
|
27 |
DESCRIPTION="Bomberman clone w/multiplayer support" |
28 |
@@ -15,21 +15,18 @@ KEYWORDS="amd64 ~ppc x86" |
29 |
IUSE="" |
30 |
|
31 |
DEPEND="x11-libs/libX11" |
32 |
-RDEPEND="${DEPEND}" |
33 |
+RDEPEND=${DEPEND} |
34 |
|
35 |
src_prepare() { |
36 |
sed -i \ |
37 |
-e "/^CC/d" \ |
38 |
-e 's/gcc/$(CC)/g' \ |
39 |
-e "s:X386:X11R6:" \ |
40 |
- Makefile \ |
41 |
- || die "sed failed" |
42 |
+ Makefile || die |
43 |
sed -i \ |
44 |
- -e "s:data/%s:${GAMES_DATADIR}/${PN}/%s:" bomber.c \ |
45 |
- || die "sed failed" |
46 |
+ -e "s:data/%s:${GAMES_DATADIR}/${PN}/%s:" bomber.c || die |
47 |
sed -i \ |
48 |
- -e "s:=\"data\":=\"${GAMES_DATADIR}/${PN}\":" sound.c \ |
49 |
- || die "sed failed" |
50 |
+ -e "s:=\"data\":=\"${GAMES_DATADIR}/${PN}\":" sound.c || die |
51 |
epatch \ |
52 |
"${FILESDIR}"/${P}-va_list.patch \ |
53 |
"${FILESDIR}"/${P}-gcc4.patch \ |