aboutsummaryrefslogtreecommitdiff
path: root/dns
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2004-08-13 19:38:58 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2004-08-13 19:38:58 +0000
commitb86cc0a18e935ae7c13d1e589547a4d205f4f710 (patch)
tree7dc072b9c377ad1c07686d17bb76f805e3c5bc5c /dns
parentaba1060f87912e3ab00ee65cdbdcd6ff23273404 (diff)
downloadports-b86cc0a18e935ae7c13d1e589547a4d205f4f710.tar.gz
ports-b86cc0a18e935ae7c13d1e589547a4d205f4f710.zip
Notes
Diffstat (limited to 'dns')
-rw-r--r--dns/bind9-dlz/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/dns/bind9-dlz/Makefile b/dns/bind9-dlz/Makefile
index 33c90fb08b84..6bdf6a61b480 100644
--- a/dns/bind9-dlz/Makefile
+++ b/dns/bind9-dlz/Makefile
@@ -65,9 +65,12 @@ CONFIGURE_ARGS+= --with-dlz-mysql
.if defined(WITH_LDAP)
LDAP_SUFFIX= +ldap
-LDAP_PORT?= net/openldap21-client
+.if defined(LDAP_PORT)
BUILD_DEPENDS+= ${LOCALBASE}/lib/${OPENLDAP_LIB}:${PORTSDIR}/${LDAP_PORT}
RUN_DEPENDS+= ${LOCALBASE}/lib/${OPENLDAP_LIB}:${PORTSDIR}/${LDAP_PORT}
+.else
+USE_OPENLDAP_VER?= 21
+.endif
CONFIGURE_ARGS+= --with-dlz-ldap
.endif