forked from Lainports/freebsd-ports
Update imap-uw to the latest version (imap-2000). Update pine4 to the latest version (pine-4.31). Despite the fact that the new releases of imap-uw and pine are intended to improve security, the security warnings on the pine and imap-uw ports have been left intact until they have proven themselves.
39 lines
955 B
Text
39 lines
955 B
Text
--- src/imapd/Makefile.orig Tue Oct 24 16:54:32 2000
|
|
+++ src/imapd/Makefile Sun Dec 17 23:44:22 2000
|
|
@@ -18,30 +18,25 @@
|
|
# CPYRIGHT, included with this Distribution.
|
|
|
|
|
|
-ALERT=/etc/imapd.alert
|
|
+ALERT=$(PREFIX)/etc/imapd.alert
|
|
USERALERT=.imapalert
|
|
-ANO=/etc/anonymous.newsgroups
|
|
+ANO=$(PREFIX)/etc/anonymous.newsgroups
|
|
SHELL= /bin/sh
|
|
|
|
|
|
# Get local definitions from c-client directory
|
|
|
|
C = ../c-client
|
|
-CCLIENTLIB = $C/c-client.a
|
|
+#CCLIENTLIB = $C/c-client.a
|
|
CC = `cat $C/CCTYPE`
|
|
-CFLAGS = -I$C `cat $C/CFLAGS` -DANOFILE=\"$(ANO)\" \
|
|
+CFLAGS = `cat $C/CFLAGS` -DANOFILE=\"$(ANO)\" \
|
|
-DALERTFILE=\"$(ALERT)\" -DUSERALERTFILE=\"$(USERALERT)\"
|
|
-LDFLAGS = $(CCLIENTLIB) `cat $C/LDFLAGS`
|
|
+LDFLAGS = $(EXTRALDFLAGS) `cat $C/LDFLAGS`
|
|
|
|
all: imapd
|
|
|
|
-imapd: $(CCLIENTLIB) imapd.o
|
|
+imapd: imapd.o
|
|
$(CC) $(CFLAGS) -o imapd imapd.o $(LDFLAGS)
|
|
-
|
|
-imapd.o: $C/mail.h $C/misc.h $C/osdep.h
|
|
-
|
|
-$(CCLIENTLIB):
|
|
- cd $C;make
|
|
|
|
clean:
|
|
rm -f *.o imapd || true
|