From owner-freebsd-ports-bugs@FreeBSD.ORG Thu May 18 22:10:24 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2A0A216A420 for ; Thu, 18 May 2006 22:10:24 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 07F6843D48 for ; Thu, 18 May 2006 22:10:22 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k4IMALUi017897 for ; Thu, 18 May 2006 22:10:21 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k4IMALPp017894; Thu, 18 May 2006 22:10:21 GMT (envelope-from gnats) Resent-Date: Thu, 18 May 2006 22:10:21 GMT Resent-Message-Id: <200605182210.k4IMALPp017894@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Boris B. Samorodov" Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AFBAA16A405 for ; 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 ; 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 ) id 1Fgqcw-000N1I-32 for FreeBSD-gnats-submit@freebsd.org; Fri, 19 May 2006 02:05:50 +0400 Message-Id: Date: Fri, 19 May 2006 02:05:50 +0400 From: "Boris B. Samorodov" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/97474: [patch] net/py-ldap2: repair WITH_SASL compiling X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "Boris B. Samorodov" List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 May 2006 22:10:26 -0000 >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: