aboutsummaryrefslogtreecommitdiffstats
path: root/testing/altermime/makefile-flags.patch
diff options
context:
space:
mode:
authorAndrew Manison <amanison@anselsystems.com>2011-03-02 16:05:44 +0000
committerAndrew Manison <amanison@anselsystems.com>2011-03-02 16:05:44 +0000
commite09c57589da22cae60e46b402c4802b38d52bff4 (patch)
treecd923f78e09c236d2abc729f707b16993e886f65 /testing/altermime/makefile-flags.patch
parentdc0398b3aad10676ce448b7e12f0f706de3db9cb (diff)
parent67b70103d6fc74186ce861cc554508065dfa0051 (diff)
downloadaports-e09c57589da22cae60e46b402c4802b38d52bff4.tar.bz2
aports-e09c57589da22cae60e46b402c4802b38d52bff4.tar.xz
Merge remote-tracking branch 'alpine/master'
Diffstat (limited to 'testing/altermime/makefile-flags.patch')
-rw-r--r--testing/altermime/makefile-flags.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/testing/altermime/makefile-flags.patch b/testing/altermime/makefile-flags.patch
new file mode 100644
index 0000000000..71a399051e
--- /dev/null
+++ b/testing/altermime/makefile-flags.patch
@@ -0,0 +1,21 @@
+--- ./Makefile.orig
++++ ./Makefile
+@@ -9,7 +9,8 @@
+ # opposite of a disclaimer.
+ #ALTERMIME_OPTIONS=-DALTERMIME_PRETEXT
+ ALTERMIME_OPTIONS=
+-CFLAGS=-Wall -Werror -g -I. -O2 $(ALTERMIME_OPTIONS)
++CFLAGS?=-Wall -Werror -g -I. -O2
++CFLAGS+=$(ALTERMIME_OPTIONS)
+ OBJS= strstack.o mime_alter.o ffget.o pldstr.o filename-filters.o logger.o MIME_headers.o libmime-decoders.o boundary-stack.o qpe.o
+
+
+@@ -19,7 +20,7 @@
+ all: altermime
+
+ altermime: altermime.c ${OBJS}
+- ${CC} ${CFLAGS} altermime.c ${OBJS} -o altermime
++ ${CC} ${CFLAGS} altermime.c ${OBJS} ${LDFLAGS} -o altermime
+
+
+ # Build Install