summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2010-08-12 21:37:58 +0000
committerMarkos Chandras <hwoarang@gentoo.org>2010-08-12 21:37:58 +0000
commit05ab7e03b972c4653ee532ddd138a724c216592a (patch)
treed804c96f0bd16641ceb9bc0b28c7174718383361 /net-mail/mailman/files
parentAutomated update of use.local.desc (diff)
downloadgentoo-2-05ab7e03b972c4653ee532ddd138a724c216592a.tar.gz
gentoo-2-05ab7e03b972c4653ee532ddd138a724c216592a.tar.bz2
gentoo-2-05ab7e03b972c4653ee532ddd138a724c216592a.zip
Apply patch from Olivier Huber <oli.huber@gmail.com> to respect LDFLAGS. Bug #331591
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'net-mail/mailman/files')
-rw-r--r--net-mail/mailman/files/mailman-2.1.13-ldflags.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/net-mail/mailman/files/mailman-2.1.13-ldflags.patch b/net-mail/mailman/files/mailman-2.1.13-ldflags.patch
new file mode 100644
index 000000000000..1c278347a0ad
--- /dev/null
+++ b/net-mail/mailman/files/mailman-2.1.13-ldflags.patch
@@ -0,0 +1,26 @@
+--- src/Makefile.in~ 2009-02-23 22:23:35.000000000 +0100
++++ src/Makefile.in 2010-08-08 02:03:16.000000000 +0200
+@@ -46,6 +46,7 @@
+ CGIDIR= $(exec_prefix)/cgi-bin
+ CGIEXT= @CGIEXT@
+ MAILDIR= $(exec_prefix)/mail
++LDFLAGS= @LDFLAGS@
+
+ SHELL= /bin/sh
+
+@@ -91,13 +92,13 @@
+ all: $(PROGRAMS)
+
+ mailman: $(srcdir)/mail-wrapper.c $(COMMONOBJS)
+- $(CC) -I. $(MAIL_FLAGS) $(CFLAGS) $(COMMONOBJS) -o $@ $(srcdir)/mail-wrapper.c
++ $(CC) $(LDFLAGS) -I. $(MAIL_FLAGS) $(CFLAGS) $(COMMONOBJS) -o $@ $(srcdir)/mail-wrapper.c
+
+ #addaliases: $(srcdir)/alias-wrapper.c $(COMMONOBJS)
+ # $(CC) -I. $(ALIAS_FLAGS) $(CFLAGS) -o $@ $(srcdir)/alias-wrapper.c
+
+ $(CGI_PROGS): $(srcdir)/cgi-wrapper.c $(COMMONOBJS)
+- $(CC) -DSCRIPT="\"$@\"" -I. $(CGI_FLAGS) $(CFLAGS) $(COMMONOBJS) -o $@ $(srcdir)/cgi-wrapper.c
++ $(CC) $(LDFLAGS) -DSCRIPT="\"$@\"" -I. $(CGI_FLAGS) $(CFLAGS) $(COMMONOBJS) -o $@ $(srcdir)/cgi-wrapper.c
+
+ common.o: $(srcdir)/common.c $(srcdir)/common.h Makefile
+ $(CC) -c -I. $(COMMON_FLAGS) $(CFLAGS) $(srcdir)/common.c