aboutsummaryrefslogtreecommitdiff
path: root/mail/cyrus-imapd23/Makefile
diff options
context:
space:
mode:
authorHajimu UMEMOTO <ume@FreeBSD.org>2004-06-11 15:08:29 +0000
committerHajimu UMEMOTO <ume@FreeBSD.org>2004-06-11 15:08:29 +0000
commitdce3e089bfde56ace0489e3502402656ce66f872 (patch)
tree56b9d8f49c19e2344ff8327561a0eb0f8ea6a74d /mail/cyrus-imapd23/Makefile
parent0f3063f3fcc82b0e826b28104d32bf99970626b4 (diff)
Notes
Diffstat (limited to 'mail/cyrus-imapd23/Makefile')
-rw-r--r--mail/cyrus-imapd23/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/mail/cyrus-imapd23/Makefile b/mail/cyrus-imapd23/Makefile
index 86a150e133cb..585e988be490 100644
--- a/mail/cyrus-imapd23/Makefile
+++ b/mail/cyrus-imapd23/Makefile
@@ -34,7 +34,6 @@ CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc \
--with-cyrus-group=${CYRUS_GROUP} \
--with-sasl=${LOCALBASE} \
--with-bdb-libdir=${LOCALBASE}/lib \
- --with-auth=unix \
--with-com_err \
--with-openssl=${OPENSSLBASE} \
--with-perl=${PERL5}
@@ -132,6 +131,15 @@ CONFIGURE_ARGS+=--with-snmp=${LOCALBASE}
CONFIGURE_ARGS+=--with-snmp=no
.endif
+.if defined(WITH_LDAP_PTLOADER)
+USE_OPENLDAP= yes
+CONFIGURE_ARGS+=--with-auth=pts --with-pts=ldap --with-ldap=${LOCALBASE}
+PLIST_SUB+= LDAP_PTLOADER=""
+.else
+CONFIGURE_ARGS+=--with-auth=unix
+PLIST_SUB+= LDAP_PTLOADER="@comment "
+.endif
+
CYRUS_USER?= cyrus
CYRUS_GROUP?= cyrus