net/py-ldap2 update

Andrew Thomson ajthomson at optushome.com.au
Wed Aug 6 19:09:01 PDT 2003


rather than just tell everyone that this port is out of date, i actually
thought i'd give it a crack at updating it.

this definitely isn't my area of expertise but i did get it to compile
with the following modifications to the current Makefile.

I didn't have my openldap21 compiled with the sasl2 business so I took
that out.. i'm sure there's something funky to get around that! ;)

regards,

ajt.


-------------- next part --------------
--- Makefile	Mon Feb 24 13:56:35 2003
+++ Makefile.ajt	Wed Aug  6 19:46:33 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
@@ -27,9 +27,9 @@
 #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=" \
-		-e "s=lber ldap resolv=lber ldap=" \
+	${SED} -e "s=/usr/local/openldap-REL_ENG_2_1/lib=${LOCALBASE}/lib=" \
+		-e "s=/usr/local/openldap-REL_ENG_2_1/include=${LOCALBASE}/include=" \
+		-e "s=ldap_r lber sasl2 ssl crypto=ldap_r lber ssl crypto=" \
 		${WRKSRC}/setup.cfg.sed > ${WRKSRC}/setup.cfg
 
 .include <bsd.port.mk>


More information about the freebsd-ports mailing list