summaryrefslogtreecommitdiff
path: root/dns
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2004-03-21 12:04:47 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2004-03-21 12:04:47 +0000
commit8cac6cca6cb04002e48c65753084f886edb0a870 (patch)
tree06a9f763439c0e4c9749a29dcaec043b0063e647 /dns
parent- new slave port (diff)
- fix openldap22 dependency
Reported by: eik - move configure dialog target
Notes
Notes: svn path=/head/; revision=104840
Diffstat (limited to 'dns')
-rw-r--r--dns/bind9-dlz/Makefile6
-rw-r--r--dns/bind9-dlz/files/configure.bind9-dlz3
2 files changed, 6 insertions, 3 deletions
diff --git a/dns/bind9-dlz/Makefile b/dns/bind9-dlz/Makefile
index b6124ca8e6d9..1559c8fbb100 100644
--- a/dns/bind9-dlz/Makefile
+++ b/dns/bind9-dlz/Makefile
@@ -64,8 +64,8 @@ CONFIGURE_ARGS+= --with-dlz-mysql
.if defined(WITH_LDAP)
LDAP_PORT?= net/openldap21-client
-LIB_DEPENDS+= ldap.2:${PORTSDIR}/${LDAP_PORT}
-LIB_DEPENDS+= lber.2:${PORTSDIR}/${LDAP_PORT}
+LIB_DEPENDS+= ldap.${OPENLDAP_LIB_VER}:${PORTSDIR}/${LDAP_PORT}
+LIB_DEPENDS+= lber.${OPENLDAP_LIB_VER}:${PORTSDIR}/${LDAP_PORT}
CONFIGURE_ARGS+= --with-dlz-ldap
.endif
@@ -148,7 +148,7 @@ MAN8= dnssec-keygen.8 dnssec-makekeyset.8 dnssec-signkey.8 dnssec-signzone.8 \
lwresd.8 named-checkconf.8 named-checkzone.8 named.8 nsupdate.8 \
rndc-confgen.8 rndc.8
-pre-everything::
+pre-fetch:
@ ${SETENV} ${SCRIPTS_ENV} ${SH} ${FILESDIR}/configure.bind9-dlz
pre-configure:
diff --git a/dns/bind9-dlz/files/configure.bind9-dlz b/dns/bind9-dlz/files/configure.bind9-dlz
index 7166c1b66cb3..9805a4cc5103 100644
--- a/dns/bind9-dlz/files/configure.bind9-dlz
+++ b/dns/bind9-dlz/files/configure.bind9-dlz
@@ -69,14 +69,17 @@ while [ "$1" ]; do
\"OpenLDAP20\")
echo WITH_LDAP=YES
echo LDAP_PORT?=net/openldap20-client
+ echo OPENLDAP_LIB_VER?=2
;;
\"OpenLDAP21\")
echo WITH_LDAP=YES
echo LDAP_PORT?=net/openldap21-client
+ echo OPENLDAP_LIB_VER?=2
;;
\"OpenLDAP22\")
echo WITH_LDAP=YES
echo LDAP_PORT?=net/openldap22-client
+ echo OPENLDAP_LIB_VER?=202
;;
\"BerkleyDB41\")
echo WITH_BERKLEYDB_DRIVER=YES