summaryrefslogtreecommitdiffstats
path: root/main/altermime/makefile-flags.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-10-25 13:27:18 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-10-25 13:27:18 +0000
commit75a2431d8bfd9b3a351cd27531866894ee77645d (patch)
tree0afef984b416f84f88bdf088e6d06eb6696d37c9 /main/altermime/makefile-flags.patch
parent8ba68ea372576bbd961cba2eee5e726c2f97ba46 (diff)
downloadaports-75a2431d8bfd9b3a351cd27531866894ee77645d.tar.bz2
aports-75a2431d8bfd9b3a351cd27531866894ee77645d.tar.xz
main/altermime: moved from testing
Diffstat (limited to 'main/altermime/makefile-flags.patch')
-rw-r--r--main/altermime/makefile-flags.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/main/altermime/makefile-flags.patch b/main/altermime/makefile-flags.patch
new file mode 100644
index 000000000..71a399051
--- /dev/null
+++ b/main/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