aboutsummaryrefslogtreecommitdiff
path: root/mail/p3scan/files/patch-ripmime::tnef::Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mail/p3scan/files/patch-ripmime::tnef::Makefile')
-rw-r--r--mail/p3scan/files/patch-ripmime::tnef::Makefile18
1 files changed, 6 insertions, 12 deletions
diff --git a/mail/p3scan/files/patch-ripmime::tnef::Makefile b/mail/p3scan/files/patch-ripmime::tnef::Makefile
index 4f6311f43648..cd1d0d3800bf 100644
--- a/mail/p3scan/files/patch-ripmime::tnef::Makefile
+++ b/mail/p3scan/files/patch-ripmime::tnef::Makefile
@@ -1,19 +1,13 @@
---- ripmime/tnef/Makefile.orig Sat Nov 15 20:39:06 2003
-+++ ripmime/tnef/Makefile Wed Feb 18 11:03:29 2004
-@@ -1,13 +1,13 @@
-
--CC=cc
-+CC?=cc
-
- # Possible platforms are SUN, HPUX, DEC, SGI, AIX, Linux and MSDOS
+--- ripmime/tnef/Makefile.orig Tue Jul 26 14:31:25 2005
++++ ripmime/tnef/Makefile Tue Jul 26 14:32:30 2005
+@@ -4,8 +4,8 @@
# The main definitions are for 32/16 bits and for byte order, the
# default is big endian. You can do -D__TNEF_BYTE_ORDER 1234 for little
# endian
-PLATFORM=-D___TNEF_BYTE_ORDER=4321
+-CFLAGS=-Wall -g -O2 -I.
+PLATFORM=-D___TNEF_BYTE_ORDER=_BYTE_ORDER -include /usr/include/machine/endian.h
- #CFLAGS = -O2 -ggdb
--CFLAGS = -Wall -g -I..
-+CFLAGS += -Wall -g -I..
-
++CFLAGS+=-Wall -g -O2 -I.
default: config.h tnef.h tnef.c
+ $(CC) $(CFLAGS) $(PLATFORM) -c tnef.c