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
commit21b85de4e611a4735c20b3c238522ae9f5eff8a1 (patch)
treef7a936088762f3cc50d951bffe07bd864fa41fd0 /games-arcade/supertransball2
parentVersion bump. (diff)
downloadgentoo-2-21b85de4e611a4735c20b3c238522ae9f5eff8a1.tar.gz
gentoo-2-21b85de4e611a4735c20b3c238522ae9f5eff8a1.tar.bz2
gentoo-2-21b85de4e611a4735c20b3c238522ae9f5eff8a1.zip
Respect LDFLAGS. Bug #334637
(Portage version: 2.1.9.14/cvs/Linux i686)
Diffstat (limited to 'games-arcade/supertransball2')
-rw-r--r--games-arcade/supertransball2/ChangeLog8
-rw-r--r--games-arcade/supertransball2/files/supertransball2-1.5-ldflags.patch11
-rw-r--r--games-arcade/supertransball2/supertransball2-1.5.ebuild8
3 files changed, 22 insertions, 5 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/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() {