aboutsummaryrefslogtreecommitdiff
path: root/mail/imap-uw/files/patch-src_mtest_Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mail/imap-uw/files/patch-src_mtest_Makefile')
-rw-r--r--mail/imap-uw/files/patch-src_mtest_Makefile30
1 files changed, 30 insertions, 0 deletions
diff --git a/mail/imap-uw/files/patch-src_mtest_Makefile b/mail/imap-uw/files/patch-src_mtest_Makefile
new file mode 100644
index 000000000000..041d6a63b98e
--- /dev/null
+++ b/mail/imap-uw/files/patch-src_mtest_Makefile
@@ -0,0 +1,30 @@
+--- src/mtest/Makefile.orig Wed Oct 25 01:55:39 2000
++++ src/mtest/Makefile Mon Oct 1 03:42:11 2001
+@@ -19,24 +19,17 @@
+
+
+ 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
+
+ all: mtest
+
+-mtest: $(CCLIENTLIB) mtest.o
++mtest: mtest.o
+ $(CC) $(CFLAGS) -o mtest mtest.o $(LDFLAGS)
+-
+-mtest.o: $C/mail.h $C/misc.h $C/osdep.h $C/rfc822.h $C/smtp.h $C/nntp.h
+-
+-$(CCLIENTLIB):
+- cd $C;make
+
+ clean:
+ rm -f *.o mtest || true