summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2015-12-18 04:12:18 -0500
committerMichael Sterrett <mr_bones_@gentoo.org>2015-12-18 04:12:18 -0500
commit73dfefd1251562612a6cc20a2e596a890437e489 (patch)
treefb3d24e728278e34d88ab0d9e1c6011a593010c8 /games-action/geki2-KXL
parentEAPI=5; minor tidying (diff)
downloadgentoo-73dfefd1251562612a6cc20a2e596a890437e489.tar.gz
gentoo-73dfefd1251562612a6cc20a2e596a890437e489.tar.bz2
gentoo-73dfefd1251562612a6cc20a2e596a890437e489.zip
EAPI=5; minor tidying
Package-Manager: portage-2.2.24
Diffstat (limited to 'games-action/geki2-KXL')
-rw-r--r--games-action/geki2-KXL/geki2-KXL-2.0.3-r2.ebuild9
1 files changed, 5 insertions, 4 deletions
diff --git a/games-action/geki2-KXL/geki2-KXL-2.0.3-r2.ebuild b/games-action/geki2-KXL/geki2-KXL-2.0.3-r2.ebuild
index 49eb8af82c78..145b741d8b84 100644
--- a/games-action/geki2-KXL/geki2-KXL-2.0.3-r2.ebuild
+++ b/games-action/geki2-KXL/geki2-KXL-2.0.3-r2.ebuild
@@ -1,7 +1,8 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI=4
+
+EAPI=5
inherit autotools eutils games
DESCRIPTION="2D length scroll shooting game"
@@ -23,9 +24,9 @@ src_prepare() {
sed -i \
-e '1i #include <string.h>' \
-e "s:DATA_PATH \"/.score\":\"${GAMES_STATEDIR}/${PN}\":" \
- src/ranking.c \
- || die "sed failed"
- epatch "${FILESDIR}"/${P}-paths.patch \
+ src/ranking.c || die
+ epatch \
+ "${FILESDIR}"/${P}-paths.patch \
"${FILESDIR}"/${P}-cflags.patch
eautoreconf
}