mirror of
https://git.freebsd.org/ports.git
synced 2025-06-09 06:40:33 -04:00
1. Add support for building cclient with SSL. Warn about the possibility that some ports may have been missed and need ssl added at link time. 2. Update cclient and imap-uw to latest versions. 3. Fix pine4 to add ssl libraries. This can be used as a model for what other ports may need to do. 4. Release MAINTAINERship (by request). Submitted by: anders@fix.no Approved by: petef@databits.net
49 lines
1.3 KiB
Text
49 lines
1.3 KiB
Text
--- src/imapd/Makefile.orig Tue Apr 3 23:54:13 2001
|
|
+++ src/imapd/Makefile Wed Apr 4 00:05:39 2001
|
|
@@ -18,10 +18,10 @@
|
|
# CPYRIGHT, included with this Distribution.
|
|
|
|
|
|
-ALERT=/etc/imapd.alert
|
|
+ALERT=$(PREFIX)/etc/imapd.alert
|
|
USERALERT=.imapalert
|
|
SHUTDOWN=/etc/nologin
|
|
-ANO=/etc/anonymous.newsgroups
|
|
+ANO=$(PREFIX)/etc/anonymous.newsgroups
|
|
SHELL= /bin/sh
|
|
|
|
|
|
@@ -40,22 +40,24 @@
|
|
# 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` $(EXTRACFLAGS) -DANOFILE=\"$(ANO)\" \
|
|
+.if defined(WITH_DRAC)
|
|
+CFLAGS = `cat $C/CFLAGS` -DANOFILE=\"$(ANO)\" -DETC_DIR=\"$(PREFIX)/etc\" \
|
|
+ -DALERTFILE=\"$(ALERT)\" -DUSERALERTFILE=\"$(USERALERT)\" -DDRAC_AUTH \
|
|
+ -DSHUTDOWNFILE=\"$(SHUTDOWN)\"
|
|
+LDFLAGS = $(EXTRALDFLAGS) `cat $C/LDFLAGS` -ldrac
|
|
+.else
|
|
+CFLAGS = `cat $C/CFLAGS` -DANOFILE=\"$(ANO)\" \
|
|
-DALERTFILE=\"$(ALERT)\" -DUSERALERTFILE=\"$(USERALERT)\" \
|
|
-DSHUTDOWNFILE=\"$(SHUTDOWN)\"
|
|
-LDFLAGS = $(CCLIENTLIB) `cat $C/LDFLAGS`
|
|
+LDFLAGS = $(EXTRALDFLAGS) `cat $C/LDFLAGS`
|
|
+.endif
|
|
|
|
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
|