aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2003-07-04 03:07:18 +0800
committerume <ume@FreeBSD.org>2003-07-04 03:07:18 +0800
commit969df75faf26350ab5aa98726c9b06069851b08c (patch)
treedc1ff1813fc1a5433beb168df3253313e2975464
parent588c877a4a68097a57358e09015b945646df5e80 (diff)
downloadfreebsd-ports-gnome-969df75faf26350ab5aa98726c9b06069851b08c.tar.gz
freebsd-ports-gnome-969df75faf26350ab5aa98726c9b06069851b08c.tar.zst
freebsd-ports-gnome-969df75faf26350ab5aa98726c9b06069851b08c.zip
Add support for OpenLDAP22.
PR: ports/53932 Submitted by: Oliver Eikemeier <eikemeier@fillmore-labs.com>
-rw-r--r--security/cyrus-sasl2-saslauthd/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/security/cyrus-sasl2-saslauthd/Makefile b/security/cyrus-sasl2-saslauthd/Makefile
index 83fd60fc7aed..69a09c066404 100644
--- a/security/cyrus-sasl2-saslauthd/Makefile
+++ b/security/cyrus-sasl2-saslauthd/Makefile
@@ -59,12 +59,13 @@ CONFIGURE_ARGS+=--with-dblib=ndbm
.endif
.if defined(WITH_OPENLDAP_VER)
-.if ${WITH_OPENLDAP_VER} == 20 || ${WITH_OPENLDAP_VER} == 21
+.if ${WITH_OPENLDAP_VER} == 20 || ${WITH_OPENLDAP_VER} == 21 || \
+ ${WITH_OPENLDAP_VER} == 22
LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap${WITH_OPENLDAP_VER}
LIB_DEPENDS+= lber.2:${PORTSDIR}/net/openldap${WITH_OPENLDAP_VER}
CONFIGURE_ARGS+=--with-ldap=${PREFIX}
.else
-BROKEN= "WITH_OPENLDAP_VER must be 20 or 21"
+BROKEN= "WITH_OPENLDAP_VER must be 20, 21 or 22"
.endif
.endif