diff options
author | pav <pav@FreeBSD.org> | 2003-12-29 18:04:51 +0000 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2003-12-29 18:04:51 +0000 |
commit | a9670a06d884e3522370ed412a6fd450890f715d (patch) | |
tree | b2a020f5f3656d411f568e1ca8c5cfbb18909de8 /net/py-ldap2/Makefile | |
parent | 581e4ff3861e0ea04062a03be4873e9e7e85c162 (diff) | |
download | FreeBSD-ports-a9670a06d884e3522370ed412a6fd450890f715d.zip FreeBSD-ports-a9670a06d884e3522370ed412a6fd450890f715d.tar.gz |
- Update to latest version - pre18, which works with openldap 2.1
Diffstat (limited to 'net/py-ldap2/Makefile')
-rw-r--r-- | net/py-ldap2/Makefile | 20 |
1 files changed, 7 insertions, 13 deletions
diff --git a/net/py-ldap2/Makefile b/net/py-ldap2/Makefile index 1c41324..af994db 100644 --- a/net/py-ldap2/Makefile +++ b/net/py-ldap2/Makefile @@ -5,7 +5,7 @@ # $FreeBSD$ PORTNAME= ldap2 -PORTVERSION= 2.0.0pre04 +PORTVERSION= 2.0.0pre18 CATEGORIES= net MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= python-ldap @@ -15,22 +15,16 @@ DISTNAME= python-ldap-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= An LDAP module for python, for OpenLDAP2 -LIB_DEPENDS= ldap.2:${PORTSDIR}/${LDAP_PORT} - USE_PYTHON= yes USE_PYDISTUTILS= yes WRKSRC= ${WRKDIR}/${DISTNAME:S=-src==} -LDAP_PORT?= net/openldap20-client +USE_OPENLDAP= yes +USE_REINPLACE= yes -#class = OpenLDAP2 -#library_dirs = /usr/local/openldap2/lib -#include_dirs = /usr/local/openldap2/include -#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=" \ - ${WRKSRC}/setup.cfg.sed > ${WRKSRC}/setup.cfg + @${REINPLACE_CMD} -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 .include <bsd.port.mk> |