Bug 97474

Summary: [patch] net/py-ldap2: repair WITH_SASL compiling
Product: Ports & Packages Reporter: Boris B.Samorodov <bsam>
Component: Individual Port(s)Assignee: Xin LI <delphij>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Boris B.Samorodov 2006-05-18 23:10:21 UTC
	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
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2006-05-18 23:16:41 UTC
Responsible Changed
From-To: freebsd-ports-bugs->delphij

Over to maintainer
Comment 2 Xin LI freebsd_committer freebsd_triage 2006-05-20 08:42:47 UTC
State Changed
From-To: open->closed

Committed, thanks!