summaryrefslogtreecommitdiff
path: root/mail/imap-uw/files/patch-src_imapd_Makefile
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-07-28 23:20:38 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-07-28 23:20:38 +0000
commit8e7fd48a294d7d6e54c6d07989807cff33ab19bd (patch)
tree0e35601cdb966c752e15cc4e5381c7e20e13fd50 /mail/imap-uw/files/patch-src_imapd_Makefile
parentscience/sigrok-cli: update to 0.5.0 (diff)
Rename mail/ patch-xy patches to reflect the files they modify.
Diffstat (limited to 'mail/imap-uw/files/patch-src_imapd_Makefile')
-rw-r--r--mail/imap-uw/files/patch-src_imapd_Makefile85
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