From bsam@ipt.ru  Thu May 18 22:05:19 2006
Return-Path: <bsam@ipt.ru>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id AFBAA16A405
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 18 May 2006 22:05:19 +0000 (UTC)
	(envelope-from bsam@ipt.ru)
Received: from mail.ipt.ru (mail.ipt.ru [80.253.10.82])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 4651243D49
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 18 May 2006 22:05:19 +0000 (GMT)
	(envelope-from bsam@ipt.ru)
Received: from admin.sem.ipt.ru ([192.168.12.1] helo=srv.sem.ipt.ru)
	by mail.ipt.ru with esmtp (Exim 4.54 (FreeBSD))
	id 1FgqcQ-0004U0-7D
	for FreeBSD-gnats-submit@freebsd.org; Fri, 19 May 2006 02:05:18 +0400
Received: from bsam by srv.sem.ipt.ru with local (Exim 4.62 (FreeBSD))
	(envelope-from <bsam@ipt.ru>)
	id 1Fgqcw-000N1I-32
	for FreeBSD-gnats-submit@freebsd.org; Fri, 19 May 2006 02:05:50 +0400
Message-Id: <E1Fgqcw-000N1I-32@srv.sem.ipt.ru>
Date: Fri, 19 May 2006 02:05:50 +0400
From: Boris B. Samorodov <bsam@ipt.ru>
Reply-To: Boris B. Samorodov <bsam@ipt.ru>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [patch] net/py-ldap2: repair WITH_SASL compiling
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         97474
>Category:       ports
>Synopsis:       [patch] net/py-ldap2: repair WITH_SASL compiling
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    delphij
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu May 18 22:10:21 GMT 2006
>Closed-Date:    Sat May 20 07:42:58 GMT 2006
>Last-Modified:  Sat May 20 07:42:58 GMT 2006
>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:
Responsible-Changed-From-To: freebsd-ports-bugs->delphij 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Thu May 18 22:16:41 UTC 2006 
Responsible-Changed-Why:  
Over to maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=97474 
State-Changed-From-To: open->closed 
State-Changed-By: delphij 
State-Changed-When: Sat May 20 07:42:47 UTC 2006 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=97474 
>Unformatted:
