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
commit7de9f1fa649387caf42a8c30f45b9893ccb7c3e6 (patch)
treecea0878037ecb030a449325ca40781fedb80ba85 /games-arcade
parentRespect LDFLAGS. Bug #337774 (diff)
downloadhistorical-7de9f1fa649387caf42a8c30f45b9893ccb7c3e6.tar.gz
historical-7de9f1fa649387caf42a8c30f45b9893ccb7c3e6.tar.bz2
historical-7de9f1fa649387caf42a8c30f45b9893ccb7c3e6.zip
Respect LDFLAGS. Bug #337772
Package-Manager: portage-2.1.8.3/cvs/Linux i686
Diffstat (limited to 'games-arcade')
-rw-r--r--games-arcade/tuxdash/ChangeLog8
-rw-r--r--games-arcade/tuxdash/Manifest5
-rw-r--r--games-arcade/tuxdash/files/tuxdash-0.8-ldflags.patch8
-rw-r--r--games-arcade/tuxdash/tuxdash-0.8.ebuild12
4 files changed, 23 insertions, 10 deletions
diff --git a/games-arcade/tuxdash/ChangeLog b/games-arcade/tuxdash/ChangeLog
index 3880b0cbf980..fe4dd9fd46af 100644
--- a/games-arcade/tuxdash/ChangeLog
+++ b/games-arcade/tuxdash/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-arcade/tuxdash
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/tuxdash/ChangeLog,v 1.7 2008/03/25 13:23:26 coldwind Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/tuxdash/ChangeLog,v 1.8 2010/09/30 04:29:54 tupone Exp $
+
+ 30 Sep 2010; Tupone Alfredo <tupone@gentoo.org> tuxdash-0.8.ebuild,
+ +files/tuxdash-0.8-ldflags.patch:
+ Respect LDFLAGS. Bug #337772 by flameeyes@gentoo.org
25 Mar 2008; Santiago M. Mola <coldwind@gentoo.org> tuxdash-0.8.ebuild:
amd64 stable
diff --git a/games-arcade/tuxdash/Manifest b/games-arcade/tuxdash/Manifest
index c51c471c1f33..e5f97bc3fa6d 100644
--- a/games-arcade/tuxdash/Manifest
+++ b/games-arcade/tuxdash/Manifest
@@ -1,4 +1,5 @@
+AUX tuxdash-0.8-ldflags.patch 457 RMD160 68d6fc48201264711250d88eee1070939149fb6d SHA1 16ca82c2c818a3f68044c2cfc919e77e81f84c5b SHA256 a7a80950edc1321b104039f915d8aba672e57438c91f40b75d7f5ec573f401d2
DIST tuxdash_src_0.8.tar.bz2 447560 RMD160 76ebf8fe6aded12b41bb882ae0ac3f0e9ec6d45e SHA1 81b9e56e23a4546eece98893c677d874f009f630 SHA256 6d29dbd5fba3c72e86d2ab2c036b24577d4eee1761467ac13924a43f2bcdbc02
-EBUILD tuxdash-0.8.ebuild 1318 RMD160 6ac95435db49ed615bf1b8a675d5c73989634986 SHA1 111a1a05ac453f7910b263b40ea9f73589297221 SHA256 95b0a7d82d9061de88cf1e462f0ec8c54ad6f20d89f898596deb41b8a19a446b
-MISC ChangeLog 975 RMD160 54c66b1415c159a7883873730567a7071f1e6b55 SHA1 80801a5f34d16cbc2f281e3a83fdae47793b705f SHA256 1d67cf87cbb23171be83e5b6e953442b27a146407a845264a8d8919fb17a3ac2
+EBUILD tuxdash-0.8.ebuild 1350 RMD160 f60beee0ad63b1ec7ca077a373382f5b1b227065 SHA1 6ce72dd0582dce13531777b900d98d337f32d3ea SHA256 d67ca85ad21e5b4332e311326d68f02c16cb4a3fe8b9c7a52d9e580a7b9e29c1
+MISC ChangeLog 1135 RMD160 4013eda9d1f2da22d1a6fee88d22466ff98ba368 SHA1 1cc84d3708392a954a3b7e7fe8d37b55ceb080bc SHA256 6ad09da1ec9447d277e9f5a8076c73be1b3fd85019ec11f63d72ee90e270c1fb
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
diff --git a/games-arcade/tuxdash/files/tuxdash-0.8-ldflags.patch b/games-arcade/tuxdash/files/tuxdash-0.8-ldflags.patch
new file mode 100644
index 000000000000..5e42f5bd9fac
--- /dev/null
+++ b/games-arcade/tuxdash/files/tuxdash-0.8-ldflags.patch
@@ -0,0 +1,8 @@
+--- src/Makefile.old 2010-09-30 06:24:36.000000000 +0200
++++ src/Makefile 2010-09-30 06:25:02.000000000 +0200
+@@ -1,4 +1,4 @@
+ all:
+- g++ main.cpp $(E_CXXFLAGS) `/usr/bin/sdl-config --libs --cflags` -lSDL_ttf -o ../tuxdash
++ g++ main.cpp $(LDFLAGS) $(E_CXXFLAGS) `/usr/bin/sdl-config --libs --cflags` -lSDL_ttf -o ../tuxdash
+ static:
+ g++ -static main.cpp $(E_CXXFLAGS) `/usr/bin/sdl-config --cflags --static-libs` -lSDL_ttf -lfreetype -lz -o ../tuxdash
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
}