aboutsummaryrefslogtreecommitdiffstats
path: root/security/cyrus-sasl2-saslauthd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'security/cyrus-sasl2-saslauthd/Makefile')
-rw-r--r--security/cyrus-sasl2-saslauthd/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/security/cyrus-sasl2-saslauthd/Makefile b/security/cyrus-sasl2-saslauthd/Makefile
index 68bf64c93122..1517f0f56822 100644
--- a/security/cyrus-sasl2-saslauthd/Makefile
+++ b/security/cyrus-sasl2-saslauthd/Makefile
@@ -61,8 +61,8 @@ CONFIGURE_ARGS+=--with-dblib=ndbm
.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}
-LIB_DEPENDS+= lber.2:${PORTSDIR}/net/openldap${WITH_OPENLDAP_VER}
+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"