aboutsummaryrefslogtreecommitdiffstats
path: root/mail/panda-imap/files/patch-src_ipopd_Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mail/panda-imap/files/patch-src_ipopd_Makefile')
-rw-r--r--mail/panda-imap/files/patch-src_ipopd_Makefile41
1 files changed, 41 insertions, 0 deletions
diff --git a/mail/panda-imap/files/patch-src_ipopd_Makefile b/mail/panda-imap/files/patch-src_ipopd_Makefile
new file mode 100644
index 000000000000..2464eff218fd
--- /dev/null
+++ b/mail/panda-imap/files/patch-src_ipopd_Makefile
@@ -0,0 +1,41 @@
+--- src/ipopd/Makefile.orig Wed Oct 25 01:55:07 2000
++++ src/ipopd/Makefile Mon Oct 1 03:44:26 2001
+@@ -19,29 +19,25 @@
+
+
+ C = ../c-client
+-CCLIENTLIB = $C/c-client.a
++#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
++.if defined(WITH_DRAC)
++CFLAGS+= -DDRAC_AUTH -DETC_DIR=\"$(PREFIX)/etc\"
++LDFLAGS+= -ldrac
++.endif
+
+ ipopd: ipop2d ipop3d
+
+-ipop2d: $(CCLIENTLIB) ipop2d.o
++ipop2d: ipop2d.o
+ $(CC) $(CFLAGS) -o ipop2d ipop2d.o $(LDFLAGS)
+
+-ipop3d: $(CCLIENTLIB) ipop3d.o
++ipop3d: ipop3d.o
+ $(CC) $(CFLAGS) -o ipop3d ipop3d.o $(LDFLAGS)
+-
+-ipop2d.o: $C/mail.h $C/misc.h $C/osdep.h
+-
+-ipop3d.o: $C/mail.h $C/misc.h $C/osdep.h
+-
+-$(CCLIENTLIB):
+- cd $C;make
+
+ clean:
+ rm -f *.o ipop2d ipop3d || true