aboutsummaryrefslogtreecommitdiff
path: root/security/cyrus-sasl2-saslauthd
diff options
context:
space:
mode:
authorHajimu UMEMOTO <ume@FreeBSD.org>2003-08-28 13:11:25 +0000
committerHajimu UMEMOTO <ume@FreeBSD.org>2003-08-28 13:11:25 +0000
commit70973459ec799da5abb45618b781526e86426c29 (patch)
treeae85f8af95ba0821a14c1bcb109bc5222b01973b /security/cyrus-sasl2-saslauthd
parenta3c383f62d926c2ce3af35bbf3af92749150b751 (diff)
downloadports-70973459ec799da5abb45618b781526e86426c29.tar.gz
ports-70973459ec799da5abb45618b781526e86426c29.zip
Notes
Diffstat (limited to 'security/cyrus-sasl2-saslauthd')
-rw-r--r--security/cyrus-sasl2-saslauthd/Makefile15
1 files changed, 8 insertions, 7 deletions
diff --git a/security/cyrus-sasl2-saslauthd/Makefile b/security/cyrus-sasl2-saslauthd/Makefile
index 1517f0f56822..668ad956ce6d 100644
--- a/security/cyrus-sasl2-saslauthd/Makefile
+++ b/security/cyrus-sasl2-saslauthd/Makefile
@@ -59,14 +59,15 @@ CONFIGURE_ARGS+=--with-dblib=ndbm
.endif
.if defined(WITH_OPENLDAP_VER)
-.if ${WITH_OPENLDAP_VER} == 20 || ${WITH_OPENLDAP_VER} == 21 || \
- ${WITH_OPENLDAP_VER} == 22
-LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap${WITH_OPENLDAP_VER}-client
-LIB_DEPENDS+= lber.2:${PORTSDIR}/net/openldap${WITH_OPENLDAP_VER}-client
-CONFIGURE_ARGS+=--with-ldap=${PREFIX}
-.else
-BROKEN= "WITH_OPENLDAP_VER must be 20, 21 or 22"
+WITH_OPENLDAP= yes
+WANT_OPENLDAP_VER= ${WITH_OPENLDAP_VER}
.endif
+.if defined(WITH_OPENLDAP)
+.if defined(WANT_OPENLDAP_VER) && ${WANT_OPENLDAP_VER} == 12
+BROKEN= "this port requires OpenLDAP >= 2.0"
+.endif
+USE_OPENLDAP= yes
+CONFIGURE_ARGS+=--with-ldap=${PREFIX}
.endif
.if !defined(WITHOUT_GSSAPI) && defined(KRB5_HOME) && exists(${KRB5_HOME}/lib/libgssapi_krb5.a)