Incorrect include library path prevents the port from compiling when WITH_SASL=YES is set. SASL version 2 uses: o /usr/local/lib/sasl2 (for libraries), but o /usr/local/include/sasl (for includes). Fix: WBR -- bsam--BMC7MeUUYGUkPdUh6gbieXfqBxdRsMebkLGK25Xbke2zzzgR Content-Type: text/plain; name="file.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="file.diff" Index: Makefile =================================================================== RCS file: /home/ncvs/ports/net/py-ldap2/Makefile,v retrieving revision 1.36 diff -u -r1.36 Makefile --- Makefile 11 May 2006 22:49:22 -0000 1.36 +++ Makefile 18 May 2006 21:53:04 -0000 @@ -6,6 +6,7 @@ PORTNAME= ldap2 PORTVERSION= 2.2.0 +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= python-ldap @@ -25,7 +26,7 @@ .if defined(WITH_SASL) WANT_OPENLDAP_SASL= yes REPLACE_ARGS+= -e 's=/usr/local/cyrus-sasl/lib=${LOCALBASE}/lib/sasl2=' \ - -e 's=/usr/local/cyrus-sasl/include=${LOCALBASE}/include/sasl2=' + -e 's=/usr/local/cyrus-sasl/include=${LOCALBASE}/include/sasl=' CONFLICTS+= openldap2[23]-client-2.* .else REPLACE_ARGS+= -e 's=ldap_r lber sasl2 ssl crypto=ldap_r lber ssl crypto=' How-To-Repeat: # cd /usr/ports/net/py-ldap2 # make WITH_SASL=YES
Responsible Changed From-To: freebsd-ports-bugs->delphij Over to maintainer
State Changed From-To: open->closed Committed, thanks!