summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2012-07-16 19:41:47 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2012-07-16 19:41:47 +0000
commitc626b087a5e5746fd77d35c170e75c097bac0346 (patch)
tree3840149949c3425fd97bab5847bf0c85d0cb4c96 /games-action/geki3-KXL
parentVersion bump. Remove unused localisations before processing. (diff)
downloadgentoo-2-c626b087a5e5746fd77d35c170e75c097bac0346.tar.gz
gentoo-2-c626b087a5e5746fd77d35c170e75c097bac0346.tar.bz2
gentoo-2-c626b087a5e5746fd77d35c170e75c097bac0346.zip
EAPI=2; respect CFLAGS (bug #426890)
(Portage version: 2.1.10.65/cvs/Linux x86_64)
Diffstat (limited to 'games-action/geki3-KXL')
-rw-r--r--games-action/geki3-KXL/ChangeLog8
-rw-r--r--games-action/geki3-KXL/geki3-KXL-1.0.3-r2.ebuild14
2 files changed, 13 insertions, 9 deletions
diff --git a/games-action/geki3-KXL/ChangeLog b/games-action/geki3-KXL/ChangeLog
index 29102cec2adf..e3bb3e78aaa7 100644
--- a/games-action/geki3-KXL/ChangeLog
+++ b/games-action/geki3-KXL/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-action/geki3-KXL
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/geki3-KXL/ChangeLog,v 1.10 2009/06/03 13:20:31 nyhm Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-action/geki3-KXL/ChangeLog,v 1.11 2012/07/16 19:41:47 mr_bones_ Exp $
+
+ 16 Jul 2012; Michael Sterrett <mr_bones_@gentoo.org>
+ geki3-KXL-1.0.3-r2.ebuild:
+ EAPI=2; respect CFLAGS (bug #426890)
03 Jun 2009; Tristan Heaven <nyhm@gentoo.org> geki3-KXL-1.0.3-r2.ebuild:
RDEPEND on media-fonts/font-adobe-100dpi
diff --git a/games-action/geki3-KXL/geki3-KXL-1.0.3-r2.ebuild b/games-action/geki3-KXL/geki3-KXL-1.0.3-r2.ebuild
index b651d26342e2..21310df6bf15 100644
--- a/games-action/geki3-KXL/geki3-KXL-1.0.3-r2.ebuild
+++ b/games-action/geki3-KXL/geki3-KXL-1.0.3-r2.ebuild
@@ -1,7 +1,8 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/geki3-KXL/geki3-KXL-1.0.3-r2.ebuild,v 1.4 2011/12/05 08:46:26 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-action/geki3-KXL/geki3-KXL-1.0.3-r2.ebuild,v 1.5 2012/07/16 19:41:47 mr_bones_ Exp $
+EAPI=2
inherit autotools eutils games
DESCRIPTION="2D length scroll shooting game"
@@ -18,23 +19,22 @@ DEPEND="dev-games/KXL"
RDEPEND="${DEPEND}
media-fonts/font-adobe-100dpi"
-src_unpack() {
- unpack ${A}
- cd "${S}"
+src_prepare() {
rm -f missing
sed -i \
-e '1i #include <string.h>' \
-e "s:DATA_PATH \"/.score\":\"${GAMES_STATEDIR}/${PN}\":" \
src/ranking.c \
|| die "sed failed"
+ sed -i -e '/CFLAGS/s/$/ @CFLAGS@/' src/Makefile.am || die #bug 426890
epatch "${FILESDIR}"/${P}-paths.patch
eautoreconf
}
src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
+ emake DESTDIR="${D}" install || die
insinto "${GAMES_STATEDIR}"
- newins data/.score ${PN} || die "newins failed"
+ newins data/.score ${PN} || die
fperms g+w "${GAMES_STATEDIR}"/${PN}
doicon "${DISTDIR}"/${PN}.png
make_desktop_entry geki3 Geki3