From owner-freebsd-ports@FreeBSD.ORG Sat Feb 12 18:54:15 2005 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9DF6116A4CE for ; Sat, 12 Feb 2005 18:54:15 +0000 (GMT) Received: from astro.systems.pipex.net (astro.systems.pipex.net [62.241.163.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0833743D2F for ; Sat, 12 Feb 2005 18:54:15 +0000 (GMT) (envelope-from lewiz@fajita.org) Received: from black.fajita.org (81-179-196-9.dsl.pipex.com [81.179.196.9]) by astro.systems.pipex.net (Postfix) with ESMTP id 85A88E0004C1 for ; Sat, 12 Feb 2005 18:54:11 +0000 (GMT) Received: from black.fajita.org (localhost [127.0.0.1]) by black.fajita.org (8.13.1/8.13.1) with ESMTP id j1CIsEJK028537 for ; Sat, 12 Feb 2005 18:54:14 GMT (envelope-from lewiz@black.fajita.org) Received: (from lewiz@localhost) by black.fajita.org (8.13.1/8.13.1/Submit) id j1CIsEnE028536 for ports@freebsd.org; Sat, 12 Feb 2005 18:54:14 GMT (envelope-from lewiz) Date: Sat, 12 Feb 2005 18:54:14 +0000 From: Lewis Thompson To: ports@freebsd.org Message-ID: <20050212185414.GA28519@black.fajita.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.7i Subject: Question about fix for ports/77051. X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Feb 2005 18:54:15 -0000 Hi, I was just wondering about how to get ports/77051 (http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/77051) closed. I think the description is slightly wrong -- he must have compiled WITH_LDAP defined. I saw that bsd.port.mk has a WANT_OPENLDAP_SASL flag but this seems useless. Would it be best to change: .if defined(WITH_LDAP) USE_OPENLDAP= yes LDAP_PREFIX?= ${LOCALBASE} .endif to: .if defined(WITH_LDAP) USE_OPENLDAP= yes LDAP_PREFIX?= ${LOCALBASE} .if exists(${LOCALBASE}/lib/libsasl2.so) LDFLAGS+= -lsasl2 LIB_DEPENDS+= sasl2.2:${PORTSDIR}/security/cyrus-sasl2 .endif .endif Any suggestions? -Lewis Thompson. -- I was so much older then, I'm younger than that now. --Bob Dylan, 1964. -| msn:lewiz@fajita.org | jabber:lewiz@jabber.org | url:www.lewiz.org |-