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
commitbaa204398d6c1bc2c379fe93bdf75f9d0e758741 (patch)
treea5b2265db8bad9454980d9c56aab047fb6646d02 /net-mail/mailman/files
parentAutomated update of use.local.desc (diff)
downloadhistorical-baa204398d6c1bc2c379fe93bdf75f9d0e758741.tar.gz
historical-baa204398d6c1bc2c379fe93bdf75f9d0e758741.tar.bz2
historical-baa204398d6c1bc2c379fe93bdf75f9d0e758741.zip
Apply patch from Olivier Huber <oli.huber@gmail.com> to respect LDFLAGS. Bug #331591
Package-Manager: portage-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