aboutsummaryrefslogtreecommitdiffstats
path: root/unstable/mailx-support/mailx-support-ldflags.patch
diff options
context:
space:
mode:
Diffstat (limited to 'unstable/mailx-support/mailx-support-ldflags.patch')
-rw-r--r--unstable/mailx-support/mailx-support-ldflags.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/unstable/mailx-support/mailx-support-ldflags.patch b/unstable/mailx-support/mailx-support-ldflags.patch
new file mode 100644
index 0000000000..97c5b60047
--- /dev/null
+++ b/unstable/mailx-support/mailx-support-ldflags.patch
@@ -0,0 +1,15 @@
+--- mailx-support-20060102.orig/Makefile
++++ mailx-support-20060102/Makefile
+@@ -17,10 +17,10 @@ clean:
+ ${RM} -f ${PRODUCTS} *.o
+
+ mail.local: mail.local.o locking.o open_with_exlock.o
+- ${CC} ${CFLAGS} -o $@ $^
++ ${CC} ${LDFLAGS} ${CFLAGS} -o $@ $^
+
+ lockspool: lockspool.o locking.o open_with_exlock.o
+- ${CC} ${CFLAGS} -o $@ $^
++ ${CC} ${LDFLAGS} ${BINDNOW_FLAGS} ${CFLAGS} -o $@ $^
+
+ .c.o:
+ ${CC} ${CFLAGS} -c -o $@ $^