From 1b39f669dff4a7f55650fb0ec9cb7af7ad448cc1 Mon Sep 17 00:00:00 2001 From: Sheldon Hearn Date: Sat, 19 Feb 2000 17:18:27 +0000 Subject: [PATCH] Add knobs (turned off by default) for non-standard mailbox formats. Submitted by: Johann Visagie --- mail/exim-devel/Makefile | 17 +++++++++++++++++ mail/exim-old/Makefile | 17 +++++++++++++++++ mail/exim/Makefile | 17 +++++++++++++++++ 3 files changed, 51 insertions(+) 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