summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2010-10-16 20:13:51 +0000
committerAlfredo Tupone <tupone@gentoo.org>2010-10-16 20:13:51 +0000
commit2f6699e7a5b868ad6564ab0eab46e92087ee3366 (patch)
treed503a6dcacec7789060295f6bc31bdde7b54d4ff /games-emulation
parentRespect LDFLAGS. Bug #334635 (diff)
downloadgentoo-2-2f6699e7a5b868ad6564ab0eab46e92087ee3366.tar.gz
gentoo-2-2f6699e7a5b868ad6564ab0eab46e92087ee3366.tar.bz2
gentoo-2-2f6699e7a5b868ad6564ab0eab46e92087ee3366.zip
Respect LDFLAGS. Bug #334625
(Portage version: 2.1.9.14/cvs/Linux i686)
Diffstat (limited to 'games-emulation')
-rw-r--r--games-emulation/psemu-spunull/ChangeLog8
-rw-r--r--games-emulation/psemu-spunull/files/psemu-spunull-1.0-ldflags.patch11
-rw-r--r--games-emulation/psemu-spunull/psemu-spunull-1.0.ebuild5
3 files changed, 20 insertions, 4 deletions
diff --git a/games-emulation/psemu-spunull/ChangeLog b/games-emulation/psemu-spunull/ChangeLog
index fbf9fb14c594..72bd79a6cca0 100644
--- a/games-emulation/psemu-spunull/ChangeLog
+++ b/games-emulation/psemu-spunull/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-emulation/psemu-spunull
-# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/psemu-spunull/ChangeLog,v 1.5 2009/01/30 06:55:07 mr_bones_ Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/psemu-spunull/ChangeLog,v 1.6 2010/10/16 20:13:51 tupone Exp $
+
+ 16 Oct 2010; Tupone Alfredo <tupone@gentoo.org> psemu-spunull-1.0.ebuild,
+ +files/psemu-spunull-1.0-ldflags.patch:
+ Respect LDFLAGS. Bug #334625 by flameeyes@gentoo.org
30 Jan 2009; Michael Sterrett <mr_bones_@gentoo.org>
psemu-spunull-1.0.ebuild:
diff --git a/games-emulation/psemu-spunull/files/psemu-spunull-1.0-ldflags.patch b/games-emulation/psemu-spunull/files/psemu-spunull-1.0-ldflags.patch
new file mode 100644
index 000000000000..ded625448713
--- /dev/null
+++ b/games-emulation/psemu-spunull/files/psemu-spunull-1.0-ldflags.patch
@@ -0,0 +1,11 @@
+--- src/Makefile.old 2010-10-16 22:03:40.000000000 +0200
++++ src/Makefile 2010-10-16 22:04:23.000000000 +0200
+@@ -8,7 +8,7 @@
+
+ plugin: ${OBJECTS}
+ rm -f ${PLUGIN}
+- $(CC) -shared -Wl,-soname,${PLUGIN} ${CFLAGS} ${OBJECTS} -o ${PLUGIN} ${LIBS}
++ $(CC) -shared -Wl,-soname,${PLUGIN} $(LDFLAGS) ${CFLAGS} ${OBJECTS} -o ${PLUGIN} ${LIBS}
+ strip --strip-unneeded --strip-debug ${PLUGIN}
+
+ clean:
diff --git a/games-emulation/psemu-spunull/psemu-spunull-1.0.ebuild b/games-emulation/psemu-spunull/psemu-spunull-1.0.ebuild
index 6e1eaae9eac9..a22ebe279e35 100644
--- a/games-emulation/psemu-spunull/psemu-spunull-1.0.ebuild
+++ b/games-emulation/psemu-spunull/psemu-spunull-1.0.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-emulation/psemu-spunull/psemu-spunull-1.0.ebuild,v 1.6 2009/01/30 06:55:07 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/psemu-spunull/psemu-spunull-1.0.ebuild,v 1.7 2010/10/16 20:13:51 tupone Exp $
EAPI=2
inherit eutils games
@@ -22,6 +22,7 @@ src_prepare() {
-e 's/gcc/$(CC)/' \
src/Makefile \
|| die "sed failed"
+ epatch "${FILESDIR}"/${P}-ldflags.patch
}
src_compile() {