summaryrefslogtreecommitdiff
path: root/net/py-ldap
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2021-08-01 01:31:01 -0700
committerXin LI <delphij@FreeBSD.org>2021-08-01 01:32:35 -0700
commit974e13b50148c5c8e7b33a1cb7e9dbaa9aedbc70 (patch)
treeb859452da4f6b6583b7d951258145569954d1c63 /net/py-ldap
parentwww/pmwiki: Update to 2.2.141 (diff)
net/openldap24-server: Make SASL permanent for OpenLDAP port.
PR: ports/257374 Reviewed by: obrien Approved by: portmgr (exp-run by antoine) Differential Revision: https://reviews.freebsd.org/D31301
Diffstat (limited to 'net/py-ldap')
-rw-r--r--net/py-ldap/Makefile10
1 files changed, 1 insertions, 9 deletions
diff --git a/net/py-ldap/Makefile b/net/py-ldap/Makefile
index 6ee65c7aab47..45a8c076a985 100644
--- a/net/py-ldap/Makefile
+++ b/net/py-ldap/Makefile
@@ -1,5 +1,6 @@
PORTNAME= ldap
DISTVERSION= 3.3.1
+PORTREVISION= 1
CATEGORIES= net python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -19,18 +20,9 @@ USE_PYTHON= autoplist distutils
USE_OPENLDAP= yes
WANT_OPENLDAP_VER= 24
-OPTIONS_DEFINE= SASL
-
-SASL_VARS= WANT_OPENLDAP_SASL=yes
-SASL_CONFLICTS= openldap24-client-2.*
-
post-patch:
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/setup.py
-do-configure-SASL-off:
- @cd ${WRKSRC} && ${PYTHON_CMD} setup.py -q setopt -c _ldap -s HAVE_TLS -o defines
- @cd ${WRKSRC} && ${PYTHON_CMD} setup.py -q saveopts
-
post-install:
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/_ldap*.so