aboutsummaryrefslogtreecommitdiffstats
path: root/net/py-ldap2
diff options
context:
space:
mode:
Diffstat (limited to 'net/py-ldap2')
-rw-r--r--net/py-ldap2/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/py-ldap2/Makefile b/net/py-ldap2/Makefile
index f5387eb5571..24ed4e53cb9 100644
--- a/net/py-ldap2/Makefile
+++ b/net/py-ldap2/Makefile
@@ -15,11 +15,12 @@ DISTNAME= python-ldap-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= An LDAP module for python, for OpenLDAP2
-LIB_DEPENDS= ldap.2:${PORTSDIR}/net/openldap20
+LIB_DEPENDS= ldap.2:${PORTSDIR}/${LDAP_PORT}
USE_PYTHON= yes
USE_PYDISTUTILS= yes
WRKSRC= ${WRKDIR}/${DISTNAME:S=-src==}
+LDAP_PORT= net/openldap20-client
#class = OpenLDAP2
#library_dirs = /usr/local/openldap2/lib