ports/97474: [patch] net/py-ldap2: repair WITH_SASL compiling

Boris B. Samorodov bsam at ipt.ru
Thu May 18 22:10:26 UTC 2006


>Number:         97474
>Category:       ports
>Synopsis:       [patch] net/py-ldap2: repair WITH_SASL compiling
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu May 18 22:10:21 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Boris B. Samorodov
>Release:        FreeBSD 6.1-STABLE i386
>Organization:
InPharmTech, Co. http://www.ipt.ru
>Environment:
System: FreeBSD srv.sem.ipt.ru 6.1-STABLE FreeBSD 6.1-STABLE #2: Wed May 17 23:26:59 MSD 2006 bsam at srv.sem.ipt.ru:/usr/obj/usr/src/sys/SRV i386

>Description:
	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).
>How-To-Repeat:
	# cd /usr/ports/net/py-ldap2
	# make WITH_SASL=YES
>Fix:
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='

WBR
-- 
bsam
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list