diff options
author | Ruslan Makhmatkhanov <rm@FreeBSD.org> | 2012-01-04 11:23:50 +0000 |
---|---|---|
committer | Ruslan Makhmatkhanov <rm@FreeBSD.org> | 2012-01-04 11:23:50 +0000 |
commit | f243deaa03aa3d0b16009ba50ca1afcb72abdb10 (patch) | |
tree | bc4852bdced6b6dd21f882f4977314f667589148 /net/py-ldap2 | |
parent | 2760c4beafbb80878a552d0492df77b931b41fb6 (diff) |
Notes
Diffstat (limited to 'net/py-ldap2')
-rw-r--r-- | net/py-ldap2/Makefile | 13 | ||||
-rw-r--r-- | net/py-ldap2/distinfo | 4 |
2 files changed, 10 insertions, 7 deletions
diff --git a/net/py-ldap2/Makefile b/net/py-ldap2/Makefile index 1fc51cb6eb1c..4e27e1a08f03 100644 --- a/net/py-ldap2/Makefile +++ b/net/py-ldap2/Makefile @@ -5,7 +5,7 @@ # $FreeBSD$ PORTNAME= ldap2 -PORTVERSION= 2.4.4 +PORTVERSION= 2.4.6 CATEGORIES= net python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -24,16 +24,15 @@ USE_PYDISTUTILS= easy_install USE_OPENLDAP= yes PYDISTUTILS_PKGNAME= python-ldap PYEASYINSTALL_ARCHDEP= yes +WANT_OPENLDAP_VER= 24 REPLACE_ARGS= -e 's,/opt/openldap-RE24/lib,${LOCALBASE}/lib,' \ - -e 's,/opt/openldap-RE24/include,${LOCALBASE}/include,' + -e 's,/opt/openldap-RE24/include,${LOCALBASE}/include,' \ + -e 's,/usr/include/sasl,${LOCALBASE}/include/sasl,' .if defined(WITH_SASL) WANT_OPENLDAP_SASL= yes -REPLACE_ARGS+= -e 's,/usr/include/sasl,${LOCALBASE}/include/sasl,' CONFLICTS+= openldap2[34]-client-2.* -.else -REPLACE_ARGS+= -e 's=ldap_r lber sasl2 ssl crypto=ldap_r lber ssl crypto=' .endif pre-everything:: @@ -48,5 +47,9 @@ pre-everything:: do-configure: @${REINPLACE_CMD} ${REPLACE_ARGS} ${WRKSRC}/setup.cfg +.if !defined(WITH_SASL) + @cd ${WRKSRC} && ${PYTHON_CMD} setup.py -q setopt -c _ldap -s HAVE_TLS -o defines + @cd ${WRKSRC} && ${PYTHON_CMD} setup.py -q saveopts +.endif .include <bsd.port.mk> diff --git a/net/py-ldap2/distinfo b/net/py-ldap2/distinfo index 0216695055ff..a5b860fd1f07 100644 --- a/net/py-ldap2/distinfo +++ b/net/py-ldap2/distinfo @@ -1,2 +1,2 @@ -SHA256 (python-ldap-2.4.4.tar.gz) = 154aa3a2ae25ab20b65d86c55d115f9c10bffe0b9bf8405c4346f74a2196dbf8 -SIZE (python-ldap-2.4.4.tar.gz) = 131282 +SHA256 (python-ldap-2.4.6.tar.gz) = 4647e5443654409268b5a20eef9b435c4d8517b44c6eca400b3b55a5c215577e +SIZE (python-ldap-2.4.6.tar.gz) = 132538 |