Patch for net/py-ldap2
Jean-Baptiste Quenot
jb.quenot at caraldi.com
Tue Jun 10 14:43:08 PDT 2003
The following patches upgrade the port for net/openldap21 with
Cyrus-SASL, and upgrade dist to pre23.
Best regards,
--
Jean-Baptiste Quenot
http://caraldi.com/jbq/
-------------- next part --------------
--- Makefile Mon Feb 24 03:56:35 2003
+++ Makefile.new Tue Jun 10 23:29:53 2003
@@ -5,7 +5,7 @@
# $FreeBSD: ports/net/py-ldap2/Makefile,v 1.21 2003/02/24 02:56:35 edwin Exp $
PORTNAME= ldap2
-PORTVERSION= 2.0.0pre04
+PORTVERSION= 2.0.0pre13
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= python-ldap
@@ -15,7 +15,7 @@
MAINTAINER= ports at FreeBSD.org
COMMENT= An LDAP module for python, for OpenLDAP2
-LIB_DEPENDS= ldap.2:${PORTSDIR}/net/openldap20
+LIB_DEPENDS= ldap.2:${PORTSDIR}/net/openldap21
USE_PYTHON= yes
USE_PYDISTUTILS= yes
@@ -27,8 +27,10 @@
#libs = lber ldap resolv
do-configure:
@${MV} ${WRKSRC}/setup.cfg ${WRKSRC}/setup.cfg.sed
- ${SED} -e "s=/usr/local/openldap2/lib=${LOCALBASE}/lib=" \
- -e "s=/usr/local/openldap2/include=${LOCALBASE}/include=" \
+ ${SED} -e "s=/usr/local/openldap[^/]*/lib=${LOCALBASE}/lib=" \
+ -e "s=/usr/local/openldap[^/]*/include=${LOCALBASE}/include=" \
+ -e "s=/usr/local/cyrus-sasl/lib=${LOCALBASE}/lib/sasl=" \
+ -e "s=/usr/local/cyrus-sasl/include=${LOCALBASE}/include/sasl=" \
-e "s=lber ldap resolv=lber ldap=" \
${WRKSRC}/setup.cfg.sed > ${WRKSRC}/setup.cfg
-------------- next part --------------
--- distinfo Thu May 23 12:59:17 2002
+++ distinfo.new Tue Jun 10 23:30:44 2003
@@ -1 +1,2 @@
MD5 (python-ldap-2.0.0pre04.tar.gz) = 4c0f4e6f59b41a02f50493f02012c9ac
+MD5 (python-ldap-2.0.0pre13.tar.gz) = ec69151b7d674f99f7498df9763eced7
More information about the freebsd-ports
mailing list