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
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')
-rw-r--r--net-mail/mailman/ChangeLog7
-rw-r--r--net-mail/mailman/files/mailman-2.1.13-ldflags.patch26
-rw-r--r--net-mail/mailman/mailman-2.1.13.ebuild3
3 files changed, 34 insertions, 2 deletions
diff --git a/net-mail/mailman/ChangeLog b/net-mail/mailman/ChangeLog
index 336e7335f5fe..d962d7304f8d 100644
--- a/net-mail/mailman/ChangeLog
+++ b/net-mail/mailman/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-mail/mailman
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/mailman/ChangeLog,v 1.120 2010/01/16 17:20:13 hanno Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/mailman/ChangeLog,v 1.121 2010/08/12 21:37:57 hwoarang Exp $
+
+ 12 Aug 2010; Markos Chandras <hwoarang@gentoo.org> mailman-2.1.13.ebuild,
+ +files/mailman-2.1.13-ldflags.patch:
+ Apply patch from Olivier Huber <oli.huber@gmail.com> to respect LDFLAGS.
+ Bug #331591
*mailman-2.1.13 (16 Jan 2010)
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
diff --git a/net-mail/mailman/mailman-2.1.13.ebuild b/net-mail/mailman/mailman-2.1.13.ebuild
index 677a56d08030..22712011d1bd 100644
--- a/net-mail/mailman/mailman-2.1.13.ebuild
+++ b/net-mail/mailman/mailman-2.1.13.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/mailman/mailman-2.1.13.ebuild,v 1.1 2010/01/16 17:20:13 hanno Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/mailman/mailman-2.1.13.ebuild,v 1.2 2010/08/12 21:37:57 hwoarang Exp $
inherit eutils python multilib
@@ -41,6 +41,7 @@ src_unpack() {
cd "${S}"
epatch "${FILESDIR}/${PN}-2.1.12-directory-check.patch" || die "patch failed."
epatch "${FILESDIR}/${PN}-2.1.9-icons.patch" || die "patch failed."
+ epatch "${FILESDIR}/${P}-ldflags.patch"
}
src_compile() {