summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2010-10-05 09:58:29 +0000
committerAlfredo Tupone <tupone@gentoo.org>2010-10-05 09:58:29 +0000
commit8613794daf59bdef1072718d11472daf717a1eb6 (patch)
tree0a3dd5ae0fc58d4684c4fb5f4dabe40f48c185b3 /games-arcade
parentVersion bump (diff)
downloadgentoo-2-8613794daf59bdef1072718d11472daf717a1eb6.tar.gz
gentoo-2-8613794daf59bdef1072718d11472daf717a1eb6.tar.bz2
gentoo-2-8613794daf59bdef1072718d11472daf717a1eb6.zip
Respect LDFLAGS. Bug #337117
(Portage version: 2.1.9.13/cvs/Linux i686)
Diffstat (limited to 'games-arcade')
-rw-r--r--games-arcade/tuxpuck/ChangeLog8
-rw-r--r--games-arcade/tuxpuck/files/tuxpuck-0.8.2-ldflags.patch11
-rw-r--r--games-arcade/tuxpuck/tuxpuck-0.8.2-r1.ebuild5
3 files changed, 20 insertions, 4 deletions
diff --git a/games-arcade/tuxpuck/ChangeLog b/games-arcade/tuxpuck/ChangeLog
index e1dd565fff12..c444f765cc8a 100644
--- a/games-arcade/tuxpuck/ChangeLog
+++ b/games-arcade/tuxpuck/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-arcade/tuxpuck
-# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/tuxpuck/ChangeLog,v 1.11 2009/02/27 00:59:09 mr_bones_ Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/tuxpuck/ChangeLog,v 1.12 2010/10/05 09:58:29 tupone Exp $
+
+ 05 Oct 2010; Tupone Alfredo <tupone@gentoo.org> tuxpuck-0.8.2-r1.ebuild,
+ +files/tuxpuck-0.8.2-ldflags.patch:
+ Respect LDFLAGS. Bug #337117 by flameeyes@gentoo.org
27 Feb 2009; Michael Sterrett <mr_bones_@gentoo.org>
tuxpuck-0.8.2-r1.ebuild:
diff --git a/games-arcade/tuxpuck/files/tuxpuck-0.8.2-ldflags.patch b/games-arcade/tuxpuck/files/tuxpuck-0.8.2-ldflags.patch
new file mode 100644
index 000000000000..28fcef48a7ec
--- /dev/null
+++ b/games-arcade/tuxpuck/files/tuxpuck-0.8.2-ldflags.patch
@@ -0,0 +1,11 @@
+--- Makefile.old 2010-10-05 10:34:57.000000000 +0200
++++ Makefile 2010-10-05 10:35:28.000000000 +0200
+@@ -20,7 +20,7 @@
+
+ $(NAME) : $(OBJS)
+ cd data; $(MAKE)
+- $(CC) $(CFLAGS) $(OBJS) data/libdata.a `sdl-config --libs` -lm -lpng \
++ $(CC) $(LDFLAGS) $(CFLAGS) $(OBJS) data/libdata.a `sdl-config --libs` -lm -lpng \
+ -ljpeg -lz -lvorbisfile -lvorbis -logg -o $(NAME)
+
+ w32icon.o : data/icons/tuxpuck.ico
diff --git a/games-arcade/tuxpuck/tuxpuck-0.8.2-r1.ebuild b/games-arcade/tuxpuck/tuxpuck-0.8.2-r1.ebuild
index 1d8108683add..3c84ca69d2d9 100644
--- a/games-arcade/tuxpuck/tuxpuck-0.8.2-r1.ebuild
+++ b/games-arcade/tuxpuck/tuxpuck-0.8.2-r1.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/tuxpuck/tuxpuck-0.8.2-r1.ebuild,v 1.4 2009/02/27 00:59:09 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/tuxpuck/tuxpuck-0.8.2-r1.ebuild,v 1.5 2010/10/05 09:58:29 tupone Exp $
EAPI=2
inherit eutils games
@@ -30,6 +30,7 @@ src_prepare() {
utils/Makefile \
data/Makefile \
|| die "sed failed"
+ epatch "${FILESDIR}"/${P}-ldflags.patch
}
src_compile() {