summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
}