summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2010-10-16 19:41:49 +0000
committerAlfredo Tupone <tupone@gentoo.org>2010-10-16 19:41:49 +0000
commit11093730ef0ef7eddad9d4682d2c4bb8b17e95d1 (patch)
tree4d67db2ab1b0400e7f4829a5ec64298963e48c68 /games-arcade
parentVersion bump. (diff)
downloadhistorical-11093730ef0ef7eddad9d4682d2c4bb8b17e95d1.tar.gz
historical-11093730ef0ef7eddad9d4682d2c4bb8b17e95d1.tar.bz2
historical-11093730ef0ef7eddad9d4682d2c4bb8b17e95d1.zip
Respect LDFLAGS. Bug #334637
Package-Manager: portage-2.1.9.14/cvs/Linux i686
Diffstat (limited to 'games-arcade')
-rw-r--r--games-arcade/supertransball2/ChangeLog8
-rw-r--r--games-arcade/supertransball2/Manifest5
-rw-r--r--games-arcade/supertransball2/files/supertransball2-1.5-ldflags.patch11
-rw-r--r--games-arcade/supertransball2/supertransball2-1.5.ebuild8
4 files changed, 25 insertions, 7 deletions
diff --git a/games-arcade/supertransball2/ChangeLog b/games-arcade/supertransball2/ChangeLog
index dd40642adadc..3d090e6b80dc 100644
--- a/games-arcade/supertransball2/ChangeLog
+++ b/games-arcade/supertransball2/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-arcade/supertransball2
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/supertransball2/ChangeLog,v 1.4 2009/01/27 10:45:10 armin76 Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/supertransball2/ChangeLog,v 1.5 2010/10/16 19:41:49 tupone Exp $
+
+ 16 Oct 2010; Tupone Alfredo <tupone@gentoo.org>
+ supertransball2-1.5.ebuild, +files/supertransball2-1.5-ldflags.patch:
+ Respect LDFLAGS. Bug #334637 by flameeyes@gentoo.org
27 Jan 2009; Raúl Porcel <armin76@gentoo.org> supertransball2-1.5.ebuild:
x86 stable wrt #255779
diff --git a/games-arcade/supertransball2/Manifest b/games-arcade/supertransball2/Manifest
index 4dec1ef040f4..207933e9eac0 100644
--- a/games-arcade/supertransball2/Manifest
+++ b/games-arcade/supertransball2/Manifest
@@ -1,5 +1,6 @@
+AUX supertransball2-1.5-ldflags.patch 397 RMD160 579b4d8728e70c7fc85d0514ef8d71177f1598a9 SHA1 885f8403127850cc31993b9800094a1f55f05e00 SHA256 f414c154e7dcae41f2b97c950bc4d9b02e884a32de7514bc3b2225a04c12b4ff
DIST stransball2-v15-linux.zip 302212 RMD160 6e9e3c3ce7b85e1578fb55cdbf8b0e29bf305917 SHA1 5a1f5524fbd65b21da924d88f81002aad6c3ffd8 SHA256 2552a18b4b59c1d39d7a1312e7efbebf5ac89bddc30f5e188693e841516276bc
DIST supertransball2_1.5-3.diff.gz 6592 RMD160 03e1485c58e6f3f80ff73aed8c973566634ee162 SHA1 1e75e95ae39640be8b8944ec1b9c4c6445c27061 SHA256 3c6cd528d29efee5d94d1ae8a322b086732b5348bcf01d1d6b6a84244ebc8fc8
-EBUILD supertransball2-1.5.ebuild 1597 RMD160 577824c6bab7c5412eea7452152998ccf02b37d0 SHA1 fcb72d5d2d4b5a022d28932ce93e26ed4941cfff SHA256 0f8e7e894de782c985b0a4de3b460b7ddf3659a6a340bd9f77e38fe4e0fac92e
-MISC ChangeLog 800 RMD160 0759ab2759fb0a6158acab00d297480476cd4a97 SHA1 7f9c5d0bccb50daf39312fd28700021b6b12b865 SHA256 2258af46bbd540d2266b09acea926682d7d38bcdf3935e673e4be97f7a851902
+EBUILD supertransball2-1.5.ebuild 1641 RMD160 a7f1a38ac858a84ac66e8c00b1810fef5be4a354 SHA1 533fdedc6ba4d0a8a11c209dbf68719181c2afa5 SHA256 caeacc75a7eb8c7c13bfd763f144172e57f4b791b48fde946908a426ece1d1ad
+MISC ChangeLog 977 RMD160 245df6c6a718327682cef69af753616368af9f4a SHA1 74de4f66f58c59242a40fe25b73d7c184e00aa66 SHA256 f0a0afb853e72c641a91bf822c73aa751e9e1f29333b69ffd0276fc61d1d2814
MISC metadata.xml 641 RMD160 6f524c0f42dc2bcd36c37363469577ace723b1f2 SHA1 67b1906abc69394ae533ce2d005184a140a8deda SHA256 2da29cc5ccec13eae783e618ba81ab5f70f28c75adf33b208e00a0734e4af1ea
diff --git a/games-arcade/supertransball2/files/supertransball2-1.5-ldflags.patch b/games-arcade/supertransball2/files/supertransball2-1.5-ldflags.patch
new file mode 100644
index 000000000000..daee9f6b17fd
--- /dev/null
+++ b/games-arcade/supertransball2/files/supertransball2-1.5-ldflags.patch
@@ -0,0 +1,11 @@
+--- Makefile.old 2010-10-16 21:34:09.000000000 +0200
++++ Makefile 2010-10-16 21:34:24.000000000 +0200
+@@ -17,7 +17,7 @@
+
+ # dynamically linked binary:
+ $(TARGET): $(OBJS)
+- $(CXX) $^ -o $@ `sdl-config --libs` -lSDL_image -lSDL_mixer -lSDL_sound -lSDL_sound -lSGE
++ $(CXX) $(LDFLAGS) $^ -o $@ `sdl-config --libs` -lSDL_image -lSDL_mixer -lSDL_sound -lSDL_sound -lSGE
+ mv ./$(TARGET) ..
+
+ clean:
diff --git a/games-arcade/supertransball2/supertransball2-1.5.ebuild b/games-arcade/supertransball2/supertransball2-1.5.ebuild
index d4168058267e..064accf35799 100644
--- a/games-arcade/supertransball2/supertransball2-1.5.ebuild
+++ b/games-arcade/supertransball2/supertransball2-1.5.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2009 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/supertransball2/supertransball2-1.5.ebuild,v 1.4 2009/01/27 10:45:10 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/supertransball2/supertransball2-1.5.ebuild,v 1.5 2010/10/16 19:41:49 tupone Exp $
inherit eutils versionator games
@@ -42,11 +42,13 @@ src_unpack() {
rm -f "${deb_dir}"/00list
epatch "${deb_dir}"/*
+ cd "${S}"
sed -i \
-e "s: -I/usr/local/include/SDL::" \
-e "s:-g3 -O3:\$(CXXFLAGS):" \
-e "s:c++:\$(CXX):" \
- "${S}"/Makefile || die "sed Makefile failed"
+ Makefile || die "sed Makefile failed"
+ epatch "${FILESDIR}"/${P}-ldflags.patch
}
src_install() {