From owner-freebsd-ports Mon Dec 16 3:10: 7 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DE8F837B404 for ; Mon, 16 Dec 2002 03:10:05 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 436AD43ED8 for ; Mon, 16 Dec 2002 03:10:05 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id gBGBA4x3011584 for ; Mon, 16 Dec 2002 03:10:04 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id gBGBA4pH011583; Mon, 16 Dec 2002 03:10:04 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AAEAA37B401 for ; Mon, 16 Dec 2002 03:03:10 -0800 (PST) Received: from smtprelay-vit-1.fr.cw.net (fe0.smtprelay-vit-1.fr.cw.net [62.210.143.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id D535243EC5 for ; Mon, 16 Dec 2002 03:03:09 -0800 (PST) (envelope-from imil@isdnet.net) Received: from [62.4.2.18] (helo=mil) by smtprelay-vit-1.fr.cw.net with esmtp (Exim 4.10) id 18Nszy-000DC8-00 for FreeBSD-gnats-submit@freebsd.org; Mon, 16 Dec 2002 11:01:22 +0000 Message-Id: <20021216115918.V4354-100000@eheitor.isdnet.net> Date: Mon, 16 Dec 2002 12:00:04 +0100 (CET) From: Emile Heitor Reply-To: To: Subject: ports/46288: OpenLDAP port update Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 46288 >Category: ports >Synopsis: OpenLDAP port update >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Dec 16 03:10:04 PST 2002 >Closed-Date: >Last-Modified: >Originator: iMil >Release: FreeBSD 4.7-RELEASE-p2 i386 >Organization: GCU-Squad >Environment: System: FreeBSD ossus.fr.cw.net 4.7-RELEASE-p2 FreeBSD 4.7-RELEASE-p2 #0: Thu De c 12 19:27:04 GMT 2002 root@ossus.fr.cw.net:/usr/obj/usr/src/sys/OSSUS i386 >Description: OpenLDAP 2.x port could be built against unixODBC, as this one handles multi threading far better than iODBC under FreeBSD , it could be a nice choice >How-To-Repeat: N/A >Fix: Here is a simple hack of OpenLDAP 2 port's Makefile : --- Makefile.orig Sun Dec 15 12:22:58 2002 +++ Makefile Sun Dec 15 12:29:04 2002 @@ -54,8 +54,13 @@ CPPFLAGS+= -I${LOCALBASE}/include/sasl1 .endif -.if defined(WITH_ODBC) +.if defined(WITH_IODBC) LIB_DEPENDS+= iodbc.3:${PORTSDIR}/databases/libiodbc +CONFIGURE_ARGS+=--enable-sql +.endif + +.if defined(WITH_UNIXODBC) +LIB_DEPENDS+= odbc.1:${PORTSDIR}/databases/unixODBC CONFIGURE_ARGS+=--enable-sql .endif >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message