summaryrefslogtreecommitdiff
path: root/dns
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2003-08-15 04:44:40 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2003-08-15 04:44:40 +0000
commit38963399e1c1c37d08706aae3ad79fd69835e80f (patch)
treefa1770406dd240107cd39ef802c5a7a6b8adc424 /dns
parent- New option LDAP_PORT (diff)
- New option LDAP_PORT
Notes
Notes: svn path=/head/; revision=86970
Diffstat (limited to 'dns')
-rw-r--r--dns/powerdns-devel/Makefile5
-rw-r--r--dns/powerdns/Makefile5
2 files changed, 6 insertions, 4 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:
diff --git a/dns/powerdns/Makefile b/dns/powerdns/Makefile
index ce0742ddc593..ee7704e780bd 100644
--- a/dns/powerdns/Makefile
+++ b/dns/powerdns/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: