Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Dec 2002 12:00:04 +0100 (CET)
From:      Emile Heitor <imil@isdnet.net>
To:        <FreeBSD-gnats-submit@FreeBSD.org>
Subject:   ports/46288: OpenLDAP port update
Message-ID:  <20021216115918.V4354-100000@eheitor.isdnet.net>

next in thread | raw e-mail | index | archive | help

>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021216115918.V4354-100000>