summaryrefslogtreecommitdiff
path: root/mail/imap-uw/files/patch-src_mailutil_Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mail/imap-uw/files/patch-src_mailutil_Makefile')
-rw-r--r--mail/imap-uw/files/patch-src_mailutil_Makefile28
1 files changed, 28 insertions, 0 deletions
diff --git a/mail/imap-uw/files/patch-src_mailutil_Makefile b/mail/imap-uw/files/patch-src_mailutil_Makefile
new file mode 100644
index 000000000000..cff390aaf0d5
--- /dev/null
+++ b/mail/imap-uw/files/patch-src_mailutil_Makefile
@@ -0,0 +1,28 @@
+--- src/mailutil/Makefile.Dist Mon Nov 18 16:41:46 2002
++++ src/mailutil/Makefile Tue Nov 26 02:36:10 2002
+@@ -19,22 +19,15 @@
+
+
+ C = ../c-client
+-CCLIENTLIB = $C/c-client.a
+ SHELL = /bin/sh
+
+ # Get local definitions from c-client directory
+
+-CC = `cat $C/CCTYPE`
+-CFLAGS = -I$C `cat $C/CFLAGS`
+-LDFLAGS = $(CCLIENTLIB) `cat $C/LDFLAGS`
++CFLAGS+= -DNFSKLUDGE -I$(LOCALBASE)/include/c-client
++LDFLAGS+= -L$(LOCALBASE)/lib -lc-client4
+
+-mailutil: $(CCLIENTLIB) mailutil.o
++mailutil: mailutil.o
+ $(CC) $(CFLAGS) -o mailutil mailutil.o $(LDFLAGS)
+-
+-mailutil.o: $C/mail.h $C/misc.h $C/osdep.h
+-
+-$(CCLIENTLIB):
+- cd $C;make
+
+ clean:
+ rm -f *.o mailutil