linamh/net-mail/mailman/files/mailman-2.1.13-ldflags.patch
geos_one 7ee04260ef net-mail/mailman: Bump
(Portage version: 2.2.0_alpha6/svn/Linux x86_64, RepoMan options: --force)

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@2766 6952d904-891a-0410-993b-d76249ca496b
2010-12-03 20:09:54 +00:00

27 lines
1022 B
Diff

--- 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