summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2010-08-25 16:24:44 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2010-08-25 16:24:44 +0000
commit9dcc3a4d82124cc910d8ed19bb813972167acd74 (patch)
treee0674412d88661276b6936bc11e6e48eb90b1cab /games-arcade
parentFix -Q60 minimum ping response time bug by Alex Ghoth. (diff)
downloadgentoo-2-9dcc3a4d82124cc910d8ed19bb813972167acd74.tar.gz
gentoo-2-9dcc3a4d82124cc910d8ed19bb813972167acd74.tar.bz2
gentoo-2-9dcc3a4d82124cc910d8ed19bb813972167acd74.zip
EAPI=2; respect LDFLAGS (bug #334457)
(Portage version: 2.1.8.3/cvs/Linux i686)
Diffstat (limited to 'games-arcade')
-rw-r--r--games-arcade/komi/ChangeLog7
-rw-r--r--games-arcade/komi/komi-1.04.ebuild16
2 files changed, 14 insertions, 9 deletions
diff --git a/games-arcade/komi/ChangeLog b/games-arcade/komi/ChangeLog
index 01d7a0426dad..e567231e6f0b 100644
--- a/games-arcade/komi/ChangeLog
+++ b/games-arcade/komi/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-arcade/komi
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/komi/ChangeLog,v 1.5 2007/03/15 23:14:50 nyhm Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/komi/ChangeLog,v 1.6 2010/08/25 16:24:44 mr_bones_ Exp $
+
+ 25 Aug 2010; Michael Sterrett <mr_bones_@gentoo.org> komi-1.04.ebuild:
+ EAPI=2; respect LDFLAGS (bug #334457)
15 Mar 2007; Tristan Heaven <nyhm@gentoo.org> komi-1.04.ebuild:
Install menu entry, bug #160229
diff --git a/games-arcade/komi/komi-1.04.ebuild b/games-arcade/komi/komi-1.04.ebuild
index c6a82ea57add..a05b59cfa385 100644
--- a/games-arcade/komi/komi-1.04.ebuild
+++ b/games-arcade/komi/komi-1.04.ebuild
@@ -1,7 +1,8 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/komi/komi-1.04.ebuild,v 1.5 2007/03/15 23:14:50 nyhm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/komi/komi-1.04.ebuild,v 1.6 2010/08/25 16:24:44 mr_bones_ Exp $
+EAPI=2
inherit eutils games
DESCRIPTION="Komi the Space Frog - simple SDL game of collection"
@@ -13,16 +14,17 @@ SLOT="0"
KEYWORDS="amd64 ~ppc x86"
IUSE=""
-DEPEND="media-libs/libsdl
+DEPEND="media-libs/libsdl[video]
media-libs/sdl-mixer"
-src_unpack() {
- unpack ${A}
- cd "${S}"
+src_prepare() {
epatch "${FILESDIR}"/${PV}-DESTDIR.patch
sed -i \
-e "/^BINPATH/s:=.*:=${GAMES_BINDIR}/:" \
- -e "/^DATAPATH/s:=.*:=${GAMES_DATADIR}/${PN}/:" Makefile \
+ -e "/^DATAPATH/s:=.*:=${GAMES_DATADIR}/${PN}/:" \
+ -e '/^SDL_LIB/s:$: $(LDFLAGS):' \
+ -e '/^SDL_LIB/s:--static-:--:' \
+ Makefile \
|| die "sed failed"
}