diff options
Diffstat (limited to 'dns/powerdns-devel')
-rw-r--r-- | dns/powerdns-devel/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/dns/powerdns-devel/Makefile b/dns/powerdns-devel/Makefile index ce0742ddc593..ee7704e780bd 100644 --- a/dns/powerdns-devel/Makefile +++ b/dns/powerdns-devel/Makefile @@ -21,6 +21,7 @@ GNU_CONFIGURE= YES CONFIGURE_ARGS+= --with-modules="${CONFIGURE_MODULES} pipe" \ --with-dynmodules="" # --enable-debug +LDAP_PORT?= net/openldap20-client # use user config if possible .if exists(${WRKDIRPREFIX}${.CURDIR}/Makefile.inc) @@ -86,8 +87,8 @@ describe: .include <bsd.port.pre.mk> .if ${OSVERSION} >= 500043 && defined(WITH_LDAP) -LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap20-client -LIB_DEPENDS+= lber.2:${PORTSDIR}/net/openldap20-client +LIB_DEPENDS+= ldap.2:${PORTSDIR}/${LDAP_PORT} +LIB_DEPENDS+= lber.2:${PORTSDIR}/${LDAP_PORT} CONFIGURE_MODULES+= "ldap" post-patch: |