summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-action/poopmup/poopmup-1.2.ebuild')
-rw-r--r--games-action/poopmup/poopmup-1.2.ebuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/games-action/poopmup/poopmup-1.2.ebuild b/games-action/poopmup/poopmup-1.2.ebuild
index d587be9d25c3..6fbd083084bc 100644
--- a/games-action/poopmup/poopmup-1.2.ebuild
+++ b/games-action/poopmup/poopmup-1.2.ebuild
@@ -1,6 +1,7 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/poopmup/poopmup-1.2.ebuild,v 1.17 2010/09/16 16:48:42 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-action/poopmup/poopmup-1.2.ebuild,v 1.18 2010/09/30 22:09:19 tupone Exp $
+EAPI="2"
inherit eutils toolchain-funcs games
@@ -21,9 +22,7 @@ DEPEND="media-libs/freeglut
S=${WORKDIR}/${PN}
-src_unpack() {
- unpack ${A}
- cd "${S}"
+src_prepare() {
sed -i \
-e "s:textures/:${GAMES_DATADIR}/${PN}/:" \
includes/textureLoader.h || die "sed failed"
@@ -36,7 +35,8 @@ src_unpack() {
epatch \
"${FILESDIR}"/${P}-freeglut.patch \
- "${FILESDIR}"/${P}-gcc43.patch
+ "${FILESDIR}"/${P}-gcc43.patch \
+ "${FILESDIR}"/${P}-ldflags.patch
ecvs_clean
}