aboutsummaryrefslogtreecommitdiffstats
path: root/mail/panda-imap/files/patch-src-tmail-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mail/panda-imap/files/patch-src-tmail-Makefile')
-rw-r--r--mail/panda-imap/files/patch-src-tmail-Makefile26
1 files changed, 26 insertions, 0 deletions
diff --git a/mail/panda-imap/files/patch-src-tmail-Makefile b/mail/panda-imap/files/patch-src-tmail-Makefile
new file mode 100644
index 000000000000..f45c29d32d2d
--- /dev/null
+++ b/mail/panda-imap/files/patch-src-tmail-Makefile
@@ -0,0 +1,26 @@
+--- src/tmail/Makefile.orig 2008-06-04 20:18:34.000000000 +0200
++++ src/tmail/Makefile 2009-01-16 10:30:24.000000000 +0100
+@@ -31,20 +31,12 @@
+
+ # 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
+
+-tmail: $(CCLIENTLIB) tmail.o tquota.o
++tmail: tmail.o tquota.o
+ $(CC) $(CFLAGS) -o tmail tmail.o tquota.o $(LDFLAGS)
+
+-tmail.o: $C/mail.h $C/misc.h $C/osdep.h tquota.h
+-
+-tquota.o: tquota.h
+-
+-$(CCLIENTLIB):
+- cd $C;make
+-
+ clean:
+ rm -f *.o tmail
+