summaryrefslogtreecommitdiff
path: root/mail/imap-uw/files/patch-ac
diff options
context:
space:
mode:
Diffstat (limited to 'mail/imap-uw/files/patch-ac')
-rw-r--r--mail/imap-uw/files/patch-ac20
1 files changed, 16 insertions, 4 deletions
diff --git a/mail/imap-uw/files/patch-ac b/mail/imap-uw/files/patch-ac
index 32d2ca1e16fa..50817cb5f0fb 100644
--- a/mail/imap-uw/files/patch-ac
+++ b/mail/imap-uw/files/patch-ac
@@ -1,5 +1,5 @@
---- src/imapd/Makefile.orig Tue Apr 24 01:23:43 2001
-+++ src/imapd/Makefile Tue Apr 24 01:30:06 2001
+--- src/imapd/Makefile.orig Thu May 10 07:31:46 2001
++++ src/imapd/Makefile Wed Jun 20 02:29:42 2001
@@ -18,10 +18,10 @@
# CPYRIGHT, included with this Distribution.
@@ -13,14 +13,25 @@
SHELL= /bin/sh
-@@ -49,22 +49,24 @@
+@@ -37,7 +37,9 @@
+ # NULs in the message text are technically a violation of both the message
+ # format and the IMAP specification, they can happen. Fortunately, most
+ # IMAP clients don't care. Netscape hangs.
+-#NSBD= -DNETSCAPE_BRAIN_DAMAGE=\"http://www.washington.edu/pine\"
++.if defined(WITH_NETSCAPE_BRAIN_DAMAGE)
++NSBD= -DNETSCAPE_BRAIN_DAMAGE=\"http://www.washington.edu/pine\"
++.endif
+
+
+ # Un-comment this to get somewhat better interoperability with Microsoft
+@@ -52,22 +54,25 @@
# 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` $(NSBD) $(MSBD) -DANOFILE=\"$(ANO)\" \
+-CFLAGS = -I$C `cat $C/CFLAGS` $(RFC1730) $(NSBD) $(MSBD) -DANOFILE=\"$(ANO)\" \
+.if defined(WITH_DRAC)
+CFLAGS = `cat $C/CFLAGS` -DANOFILE=\"$(ANO)\" -DETC_DIR=\"$(PREFIX)/etc\" \
+ -DALERTFILE=\"$(ALERT)\" -DUSERALERTFILE=\"$(USERALERT)\" -DDRAC_AUTH \
@@ -33,6 +44,7 @@
-LDFLAGS = $(CCLIENTLIB) `cat $C/LDFLAGS`
+LDFLAGS = $(EXTRALDFLAGS) `cat $C/LDFLAGS`
+.endif
++CFLAGS+= $(RFC1730) $(NSBD) $(MSBD)
all: imapd