summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Ramsay <lack@gentoo.org>2010-08-11 13:59:11 +0000
committerJim Ramsay <lack@gentoo.org>2010-08-11 13:59:11 +0000
commit867196d3e942e540d03bd6098de177b66b0f465c (patch)
tree79a70a8f0889b13defa25719f27d53557be93259 /x11-plugins/gkrellsun/files
parentFix building with GLIBC 2.12 wrt #332237 by Diego E. Pettenò. (diff)
downloadgentoo-2-867196d3e942e540d03bd6098de177b66b0f465c.tar.gz
gentoo-2-867196d3e942e540d03bd6098de177b66b0f465c.tar.bz2
gentoo-2-867196d3e942e540d03bd6098de177b66b0f465c.zip
Respect LDFLAGS (Bug #332223)
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'x11-plugins/gkrellsun/files')
-rw-r--r--x11-plugins/gkrellsun/files/gkrellsun-1.0.0-Respect-LDFLAGS.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/x11-plugins/gkrellsun/files/gkrellsun-1.0.0-Respect-LDFLAGS.patch b/x11-plugins/gkrellsun/files/gkrellsun-1.0.0-Respect-LDFLAGS.patch
new file mode 100644
index 000000000000..548039dd0e0b
--- /dev/null
+++ b/x11-plugins/gkrellsun/files/gkrellsun-1.0.0-Respect-LDFLAGS.patch
@@ -0,0 +1,13 @@
+diff --git a/src20/Makefile b/src20/Makefile
+index 3e8e62c..ef96fa2 100644
+--- a/src20/Makefile
++++ b/src20/Makefile
+@@ -16,6 +16,8 @@ FLAGS = -O2 -Wall -fPIC $(GTK_INCLUDE)
+ LIBS = $(GTK_LIB)
+ LFLAGS = -shared
+
++LFLAGS += $(LDFLAGS)
++
+ ifeq ($(enable_nls),1)
+ FLAGS += -DENABLE_NLS -DLOCALEDIR=\"$(LOCALEDIR)\"
+ export enable_nls