aports/testing/altermime/makefile-flags.patch
Natanael Copa e390bd2705 testing/altermime: new aport
program alter mime-encoded mailpacks
http://www.pldaniels.com/altermime/
2011-03-02 12:41:02 +00:00

22 lines
604 B
Diff

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