aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorsheldonh <sheldonh@FreeBSD.org>2000-02-20 01:18:27 +0800
committersheldonh <sheldonh@FreeBSD.org>2000-02-20 01:18:27 +0800
commitf168a3c0d826d7556936f248ca377b6f07b27786 (patch)
treec5094f6b338e726d22092c565be31a03d788fe4a /mail
parentbbe7177b9a7b699997fb15ef1dbf47e60c18c384 (diff)
downloadfreebsd-ports-gnome-f168a3c0d826d7556936f248ca377b6f07b27786.tar.gz
freebsd-ports-gnome-f168a3c0d826d7556936f248ca377b6f07b27786.tar.zst
freebsd-ports-gnome-f168a3c0d826d7556936f248ca377b6f07b27786.zip
Add knobs (turned off by default) for non-standard mailbox formats.
Submitted by: Johann Visagie <wjv@sunesi.net>
Diffstat (limited to 'mail')
-rw-r--r--mail/exim-devel/Makefile17
-rw-r--r--mail/exim-old/Makefile17
-rw-r--r--mail/exim/Makefile17
3 files changed, 51 insertions, 0 deletions
diff --git a/mail/exim-devel/Makefile b/mail/exim-devel/Makefile
index 9b996b8c1f79..0faf3ed67892 100644
--- a/mail/exim-devel/Makefile
+++ b/mail/exim-devel/Makefile
@@ -39,6 +39,11 @@ LDAP_LIB_TYPE= UMICHIGAN
PAM_CRAM_MD5= YES
PAM_PLAINTEXT= YES
+# Uncomment to compile support for non-standard mailbox formats.
+#USE_MAILDIR= YES
+#USE_MAILSTORE= YES
+#USE_MBX= YES
+
# You should not need to fiddle with anything below this point.
SEDLIST= -e 's,XX_PREFIX_XX,${PREFIX},' \
@@ -84,6 +89,18 @@ SEDLIST+= -e 's/^AUTH_CRAM_MD5/\#AUTH_CRAM_MD5/'
SEDLIST+= -e 's/^AUTH_PLAINTEXT/\#AUTH_PLAINTEXT/'
.endif
+.if defined(USE_MAILDIR) && ${USE_MAILDIR} == YES
+SEDLIST+= -e 's/^\# SUPPORT_MAILDIR/SUPPORT_MAILDIR/'
+.endif
+
+.if defined(USE_MAILSTORE) && ${USE_MAILSTORE} == YES
+SEDLIST+= -e 's/^\# SUPPORT_MAILSTORE/SUPPORT_MAILSTORE/'
+.endif
+
+.if defined(USE_MBX) && ${USE_MBX} == YES
+SEDLIST+= -e 's/^\# SUPPORT_MBX/SUPPORT_MBX/'
+.endif
+
do-configure:
${MKDIR} ${WRKSRC}/Local
${SED} ${SEDLIST} < ${FILESDIR}/Makefile > ${WRKSRC}/Local/Makefile
diff --git a/mail/exim-old/Makefile b/mail/exim-old/Makefile
index 9b996b8c1f79..0faf3ed67892 100644
--- a/mail/exim-old/Makefile
+++ b/mail/exim-old/Makefile
@@ -39,6 +39,11 @@ LDAP_LIB_TYPE= UMICHIGAN
PAM_CRAM_MD5= YES
PAM_PLAINTEXT= YES
+# Uncomment to compile support for non-standard mailbox formats.
+#USE_MAILDIR= YES
+#USE_MAILSTORE= YES
+#USE_MBX= YES
+
# You should not need to fiddle with anything below this point.
SEDLIST= -e 's,XX_PREFIX_XX,${PREFIX},' \
@@ -84,6 +89,18 @@ SEDLIST+= -e 's/^AUTH_CRAM_MD5/\#AUTH_CRAM_MD5/'
SEDLIST+= -e 's/^AUTH_PLAINTEXT/\#AUTH_PLAINTEXT/'
.endif
+.if defined(USE_MAILDIR) && ${USE_MAILDIR} == YES
+SEDLIST+= -e 's/^\# SUPPORT_MAILDIR/SUPPORT_MAILDIR/'
+.endif
+
+.if defined(USE_MAILSTORE) && ${USE_MAILSTORE} == YES
+SEDLIST+= -e 's/^\# SUPPORT_MAILSTORE/SUPPORT_MAILSTORE/'
+.endif
+
+.if defined(USE_MBX) && ${USE_MBX} == YES
+SEDLIST+= -e 's/^\# SUPPORT_MBX/SUPPORT_MBX/'
+.endif
+
do-configure:
${MKDIR} ${WRKSRC}/Local
${SED} ${SEDLIST} < ${FILESDIR}/Makefile > ${WRKSRC}/Local/Makefile
diff --git a/mail/exim/Makefile b/mail/exim/Makefile
index 9b996b8c1f79..0faf3ed67892 100644
--- a/mail/exim/Makefile
+++ b/mail/exim/Makefile
@@ -39,6 +39,11 @@ LDAP_LIB_TYPE= UMICHIGAN
PAM_CRAM_MD5= YES
PAM_PLAINTEXT= YES
+# Uncomment to compile support for non-standard mailbox formats.
+#USE_MAILDIR= YES
+#USE_MAILSTORE= YES
+#USE_MBX= YES
+
# You should not need to fiddle with anything below this point.
SEDLIST= -e 's,XX_PREFIX_XX,${PREFIX},' \
@@ -84,6 +89,18 @@ SEDLIST+= -e 's/^AUTH_CRAM_MD5/\#AUTH_CRAM_MD5/'
SEDLIST+= -e 's/^AUTH_PLAINTEXT/\#AUTH_PLAINTEXT/'
.endif
+.if defined(USE_MAILDIR) && ${USE_MAILDIR} == YES
+SEDLIST+= -e 's/^\# SUPPORT_MAILDIR/SUPPORT_MAILDIR/'
+.endif
+
+.if defined(USE_MAILSTORE) && ${USE_MAILSTORE} == YES
+SEDLIST+= -e 's/^\# SUPPORT_MAILSTORE/SUPPORT_MAILSTORE/'
+.endif
+
+.if defined(USE_MBX) && ${USE_MBX} == YES
+SEDLIST+= -e 's/^\# SUPPORT_MBX/SUPPORT_MBX/'
+.endif
+
do-configure:
${MKDIR} ${WRKSRC}/Local
${SED} ${SEDLIST} < ${FILESDIR}/Makefile > ${WRKSRC}/Local/Makefile