Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 May 2006 02:05:50 +0400
From:      "Boris B. Samorodov" <bsam@ipt.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/97474: [patch] net/py-ldap2: repair WITH_SASL compiling
Message-ID:  <E1Fgqcw-000N1I-32@srv.sem.ipt.ru>
Resent-Message-ID: <200605182210.k4IMALPp017894@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1Fgqcw-000N1I-32>