Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Dec 2000 14:32:46 +0100
From:      Oyvind Moll <oyvindmo@orakel.ntnu.no>
To:        Herbert Chang <hbzhang@onebox.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Why does mod-php4 not support OpenLDAP 2.x?
Message-ID:  <20001208143246.A31331@orakel.ntnu.no>
In-Reply-To: <20001208125050.VMAD8007.mta11.onebox.com@onebox.com>; from hbzhang@onebox.com on Fri, Dec 08, 2000 at 04:51:15AM -0800
References:  <20001208125050.VMAD8007.mta11.onebox.com@onebox.com>

next in thread | previous in thread | raw e-mail | index | archive | help
* Herbert Chang <hbzhang@onebox.com>
|
| I build its ports with "make all install" but it only support OpenLDAP
| 1.2.11.

I've tested a bit, and it works fine with OpenLDAP 2.x, too.  Just
change the dependencies in www/mode_php4/scripts/configure.php:


diff -u -r1.100 configure.php
--- scripts/configure.php       2000/11/16 10:14:31     1.100
+++ scripts/configure.php       2000/12/08 13:31:30
@@ -130,8 +130,8 @@
                        echo "CONFIGURE_ARGS+=--with-dbase"
                        ;;
                \"OpenLDAP\")
-                       echo "LIB_DEPENDS+=     ldap.1:\${PORTSDIR}/net/openldap"
-                       echo "LIB_DEPENDS+=     lber.1:\${PORTSDIR}/net/openldap"
+                       echo "LIB_DEPENDS+=     ldap.2:\${PORTSDIR}/net/openldap2"
+                       echo "LIB_DEPENDS+=     lber.2:\${PORTSDIR}/net/openldap2"
                        echo "CONFIGURE_ARGS+=--with-ldap=\${PREFIX}"
                        if [ -f /usr/lib/libkrb.a -a -f /usr/lib/libdes.a -a ! -L /usr/lib/libdes.a ]; then
                                echo "CONFIGURE_ENV+=   LIBS='-lkrb -ldes -L\${PREFIX}/lib'"


YMMV.

-- 
   Øyvind Møll              <oyvindmo@initio.no>
   Initio IT-løsninger AS   <URL: http://www.initio.no/ >


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?20001208143246.A31331>