aboutsummaryrefslogtreecommitdiff
path: root/news/nntpcache
diff options
context:
space:
mode:
authorJun Kuriyama <kuriyama@FreeBSD.org>2003-08-16 14:40:31 +0000
committerJun Kuriyama <kuriyama@FreeBSD.org>2003-08-16 14:40:31 +0000
commit056b5ab914cc5696c32dec2855853630a2e0a020 (patch)
treed3afc7dd0297a60098f3fbdaf0e751fc42d20fd9 /news/nntpcache
parent581769c1a36b6118fc2b4f3d769f3142bcad399a (diff)
downloadports-056b5ab914cc5696c32dec2855853630a2e0a020.tar.gz
ports-056b5ab914cc5696c32dec2855853630a2e0a020.zip
Add knob to make you choose your ldap version.
PR: ports/55589 Submitted by: Clement Laforet <sheepkiller@cultdeadsheep.org>
Notes
Notes: svn path=/head/; revision=87061
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