aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2003-08-15 12:44:40 +0800
committerdinoex <dinoex@FreeBSD.org>2003-08-15 12:44:40 +0800
commited6ea61540672cac91cd8054a563252c4ab4eb4d (patch)
tree190fa2e805b25d0d0811302f355b3a383a34c7c1
parentf90c102a5e0cd19f570fc5a8f22a34186985e1c3 (diff)
downloadfreebsd-ports-gnome-ed6ea61540672cac91cd8054a563252c4ab4eb4d.tar.gz
freebsd-ports-gnome-ed6ea61540672cac91cd8054a563252c4ab4eb4d.tar.zst
freebsd-ports-gnome-ed6ea61540672cac91cd8054a563252c4ab4eb4d.zip
- New option LDAP_PORT
-rw-r--r--dns/powerdns-devel/Makefile5
-rw-r--r--dns/powerdns/Makefile5
-rw-r--r--net/powerdns/Makefile5
3 files changed, 9 insertions, 6 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:
diff --git a/net/powerdns/Makefile b/net/powerdns/Makefile
index ce0742ddc593..ee7704e780bd 100644
--- a/net/powerdns/Makefile
+++ b/net/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: