From owner-freebsd-ports@FreeBSD.ORG Tue Apr 23 01:59:49 2013 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id CCD5A6B5 for ; Tue, 23 Apr 2013 01:59:49 +0000 (UTC) (envelope-from sahil@tandon.net) Received: from cricket.hamla.org (cricket.hamla.org [206.251.255.31]) by mx1.freebsd.org (Postfix) with ESMTP id BB69A1244 for ; Tue, 23 Apr 2013 01:59:49 +0000 (UTC) Received: from magnus (cpe-68-174-134-215.nyc.res.rr.com [68.174.134.215]) by cricket.hamla.org (Postfix) with ESMTPSA id 266958A019; Mon, 22 Apr 2013 21:59:43 -0400 (EDT) Date: Mon, 22 Apr 2013 22:01:57 -0400 From: Sahil Tandon To: pavel@hts.kh.ua Subject: Re: FreeBSD Port: postfix-2.9.5,1 - LDAP_SASL option ignored Message-ID: <20130423020156.GA96816@magnus> References: <514C2A46.2050607@hts.kh.ua> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <514C2A46.2050607@hts.kh.ua> User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Scanned: clamav-milter 0.97.3 at cricket.hamla.org X-Virus-Status: Clean Cc: ports@FreeBSD.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Sahil Tandon List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Apr 2013 01:59:49 -0000 On Fri, 2013-03-22 at 11:54:14 +0200, Pavel Bychykhin wrote: > In config dialog i check OPENLDAP, LDAP_SASL and SASL2. > The make process ignores an option LDAP_SASL. > As a result i see "unsupported parameter value: bind = SASL" in output of "postmap" command. > As a solution, i added "-DUSE_LDAP_SASL" directly into Makefile in do-configure section: > > do-configure: > (cd ${WRKSRC} && ${MAKE} -f Makefile.init makefiles ${MAKEFILEFLAGS} \ > CCARGS="${POSTFIX_CCARGS} -DUSE_LDAP_SASL" AUXLIBS="${POSTFIX_AUXLIBS}" && \ > ${ECHO} "all: default" >> Makefile) > > After that changes, all works fine with LDAP SASL binding. A different fix has been committed. Please let me know if the problem persists. -- Sahil Tandon