diff options
Diffstat (limited to 'dns/bind9-dlz/Makefile')
-rw-r--r-- | dns/bind9-dlz/Makefile | 5 |
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 |