diff options
Diffstat (limited to 'mail/imap-uw/files/patch-src_imapd_Makefile')
-rw-r--r-- | mail/imap-uw/files/patch-src_imapd_Makefile | 85 |
1 files changed, 85 insertions, 0 deletions
diff --git a/mail/imap-uw/files/patch-src_imapd_Makefile b/mail/imap-uw/files/patch-src_imapd_Makefile new file mode 100644 index 000000000000..0eb221b2e8ee --- /dev/null +++ b/mail/imap-uw/files/patch-src_imapd_Makefile @@ -0,0 +1,85 @@ +*** 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,63 ---- + # 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 +! .if defined(WITH_DRAC) +! CFLAGS+= -DETC_DIR=\"$(PREFIX)/etc\" -DDRAC_AUTH +! LDFLAGS+= -ldrac +! .endif + + all: imapd + +! imapd: imapd.o + $(CC) $(CFLAGS) -o imapd imapd.o $(LDFLAGS) + + clean: + rm -f *.o imapd || true |