aports/unmaintained/mailx-support/mailx-support-ldflags.patch
Natanael Copa dca0ad5e0f rename unstable to unmaintained
stuff thats unmaintained could go here
2013-06-12 12:27:59 +00:00

16 lines
429 B
Diff

--- 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 $@ $^