summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2010-09-30 04:29:54 +0000
committerAlfredo Tupone <tupone@gentoo.org>2010-09-30 04:29:54 +0000
commitc2177422746efb458ab4237d4515dd8fbbacfc40 (patch)
treea690034852ae97ee4574c7fe5f82176df50e75be /games-arcade/tuxdash/tuxdash-0.8.ebuild
parentRespect LDFLAGS. Bug #337774 (diff)
downloadgentoo-2-c2177422746efb458ab4237d4515dd8fbbacfc40.tar.gz
gentoo-2-c2177422746efb458ab4237d4515dd8fbbacfc40.tar.bz2
gentoo-2-c2177422746efb458ab4237d4515dd8fbbacfc40.zip
Respect LDFLAGS. Bug #337772
(Portage version: 2.1.8.3/cvs/Linux i686)
Diffstat (limited to 'games-arcade/tuxdash/tuxdash-0.8.ebuild')
-rw-r--r--games-arcade/tuxdash/tuxdash-0.8.ebuild12
1 files changed, 6 insertions, 6 deletions
diff --git a/games-arcade/tuxdash/tuxdash-0.8.ebuild b/games-arcade/tuxdash/tuxdash-0.8.ebuild
index 0c93ed8c0211..b9d562b63c7a 100644
--- a/games-arcade/tuxdash/tuxdash-0.8.ebuild
+++ b/games-arcade/tuxdash/tuxdash-0.8.ebuild
@@ -1,8 +1,9 @@
-# Copyright 1999-2008 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/tuxdash/tuxdash-0.8.ebuild,v 1.6 2008/03/25 13:23:26 coldwind Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/tuxdash/tuxdash-0.8.ebuild,v 1.7 2010/09/30 04:29:54 tupone Exp $
+EAPI="2"
-inherit games
+inherit eutils games
DESCRIPTION="A simple BoulderDash clone"
HOMEPAGE="http://www.tuxdash.de/index.php?language=EN"
@@ -16,9 +17,7 @@ IUSE=""
DEPEND="media-libs/libsdl
media-libs/sdl-ttf"
-src_unpack() {
- unpack ${A}
- cd "${S}"
+src_prepare() {
rm -f GPL TuxDash
sed -i \
-e '/^Fullscreen/ s/0/1/' \
@@ -33,6 +32,7 @@ src_unpack() {
-e 's/-Wall/$(E_CXXFLAGS)/' \
-e 's/TuxDash/tuxdash/g' \
src/Makefile || die "sed failed"
+ epatch "${FILESDIR}"/${P}-ldflags.patch
find . -type f -print0 | xargs -0 chmod a-x
}