aboutsummaryrefslogtreecommitdiffstats
path: root/news/nntpcache
diff options
context:
space:
mode:
authorkuriyama <kuriyama@FreeBSD.org>2003-08-16 22:40:31 +0800
committerkuriyama <kuriyama@FreeBSD.org>2003-08-16 22:40:31 +0800
commitb83aa7f805017f9b58112d0ced0c86a295047c90 (patch)
tree594ca2cd9cba755bfb7f8a2e56d121b8353ff790 /news/nntpcache
parent94e15c979d9683713a41eeb5af824855f7a9a6bb (diff)
downloadfreebsd-ports-gnome-b83aa7f805017f9b58112d0ced0c86a295047c90.tar.gz
freebsd-ports-gnome-b83aa7f805017f9b58112d0ced0c86a295047c90.tar.zst
freebsd-ports-gnome-b83aa7f805017f9b58112d0ced0c86a295047c90.zip
Add knob to make you choose your ldap version.
PR: ports/55589 Submitted by: Clement Laforet <sheepkiller@cultdeadsheep.org>
Diffstat (limited to 'news/nntpcache')
-rw-r--r--news/nntpcache/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/news/nntpcache/Makefile b/news/nntpcache/Makefile
index 98156c7f2295..1a6c55c22962 100644
--- a/news/nntpcache/Makefile
+++ b/news/nntpcache/Makefile
@@ -25,8 +25,10 @@ LIB_DEPENDS+= ldap.1:${PORTSDIR}/net/openldap12
LIB_DEPENDS+= lber.1:${PORTSDIR}/net/openldap12
.endif
.if defined(WITH_LDAP2)
-LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap20-client
-LIB_DEPENDS+= lber.2:${PORTSDIR}/net/openldap20-client
+WITH_LDAP_VER?= 20
+LDAP_VER= ${WITH_LDAP_VER}
+LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap${LDAP_VER}-client
+LIB_DEPENDS+= lber.2:${PORTSDIR}/net/openldap${LDAP_VER}-client
.endif
# This may be set interactively at install-time. NNTPCache will