aboutsummaryrefslogtreecommitdiffstats
path: root/dns/bind9-dlz
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2004-08-14 03:38:58 +0800
committerdinoex <dinoex@FreeBSD.org>2004-08-14 03:38:58 +0800
commit62985f6339f697f1792a9535a65e8ef6ed58cf84 (patch)
tree9290cbe6f4487389083929aacff7d09468c06986 /dns/bind9-dlz
parent2f68980837f17763ad8eb9b8b7af7024799dd774 (diff)
downloadfreebsd-ports-gnome-62985f6339f697f1792a9535a65e8ef6ed58cf84.tar.gz
freebsd-ports-gnome-62985f6339f697f1792a9535a65e8ef6ed58cf84.tar.zst
freebsd-ports-gnome-62985f6339f697f1792a9535a65e8ef6ed58cf84.zip
- accept USE_OPENLDAP_VER
Diffstat (limited to 'dns/bind9-dlz')
-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