mirror of
https://git.freebsd.org/ports.git
synced 2025-06-04 20:36:30 -04:00
81 lines
2.1 KiB
Text
81 lines
2.1 KiB
Text
*** src/imapd/Makefile.orig Thu Aug 31 02:10:44 2006
|
|
--- src/imapd/Makefile Mon Jul 23 18:02:12 2007
|
|
***************
|
|
*** 25,35 ****
|
|
# Last Edited: 30 August 2006
|
|
|
|
|
|
! ALERT=/etc/imapd.alert
|
|
USERALERT=.imapalert
|
|
! SHUTDOWN=/etc/nologin
|
|
! ANO=/etc/anonymous.newsgroups
|
|
! NNTP=/etc/imapd.nntp
|
|
SHELL= /bin/sh
|
|
|
|
|
|
--- 25,35 ----
|
|
# Last Edited: 30 August 2006
|
|
|
|
|
|
! ALERT=$(PREFIX)/etc/imapd.alert
|
|
USERALERT=.imapalert
|
|
! SHUTDOWN=$(PREFIX)/etc/nologin
|
|
! ANO=$(PREFIX)/etc/anonymous.newsgroups
|
|
! NNTP=$(PREFIX)//etc/imapd.nntp
|
|
SHELL= /bin/sh
|
|
|
|
|
|
***************
|
|
*** 37,64 ****
|
|
# causes the "Manage Mail" menu item to open the given URL, e.g. to point to
|
|
# an alternative IMAP client (e.g. Pine) or perhaps to a homebrew mail
|
|
# account management page.
|
|
! #NSBD= -DNETSCAPE_BRAIN_DAMAGE=\"http://www.washington.edu/pine\"
|
|
|
|
|
|
# Get local definitions from c-client directory
|
|
|
|
! C = ../c-client
|
|
! CCLIENTLIB = $C/c-client.a
|
|
! CC = `cat $C/CCTYPE`
|
|
! CFLAGS = -I$C `cat $C/CFLAGS` $(NSBD) $(ENBD) -DANOFILE=\"$(ANO)\" \
|
|
-DALERTFILE=\"$(ALERT)\" -DNNTPFILE=\"$(NNTP)\" \
|
|
-DUSERALERTFILE=\"$(USERALERT)\" -DSHUTDOWNFILE=\"$(SHUTDOWN)\"
|
|
! LDFLAGS = $(CCLIENTLIB) `cat $C/LDFLAGS`
|
|
|
|
all: imapd
|
|
|
|
! imapd: $(CCLIENTLIB) 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
|
|
--- 37,59 ----
|
|
# causes the "Manage Mail" menu item to open the given URL, e.g. to point to
|
|
# an alternative IMAP client (e.g. Pine) or perhaps to a homebrew mail
|
|
# account management page.
|
|
! .if defined(WITH_NETSCAPE_BRAIN_DAMAGE)
|
|
! NSBD= -DNETSCAPE_BRAIN_DAMAGE=\"http://www.washington.edu/pine\"
|
|
! .endif
|
|
|
|
|
|
# Get local definitions from c-client directory
|
|
|
|
! CFLAGS = -DNFSKLUDGE -I$(LOCALBASE)/include/c-client $(NSBD) \
|
|
! -DANOFILE=\"$(ANO)\" \
|
|
-DALERTFILE=\"$(ALERT)\" -DNNTPFILE=\"$(NNTP)\" \
|
|
-DUSERALERTFILE=\"$(USERALERT)\" -DSHUTDOWNFILE=\"$(SHUTDOWN)\"
|
|
! LDFLAGS+= $(EXTRALDFLAGS) -L$(LOCALBASE)/lib -lc-client4
|
|
|
|
all: imapd
|
|
|
|
! imapd: imapd.o
|
|
$(CC) $(CFLAGS) -o imapd imapd.o $(LDFLAGS)
|
|
|
|
clean:
|
|
rm -f *.o imapd || true
|