From owner-freebsd-questions@FreeBSD.ORG Thu Apr 27 18:52:43 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AF5FD16A401 for ; Thu, 27 Apr 2006 18:52:43 +0000 (UTC) (envelope-from peo@intersonic.se) Received: from neonpark.inter-sonic.com (neonpark.inter-sonic.com [212.247.8.98]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0F38A43D6D for ; Thu, 27 Apr 2006 18:52:38 +0000 (GMT) (envelope-from peo@intersonic.se) Received: from localhost (terrapin.inter-sonic.com [172.16.1.12]) by neonpark.inter-sonic.com (Postfix) with ESMTP id 40B96818E7E; Thu, 27 Apr 2006 20:52:37 +0200 (CEST) Message-ID: <445112F1.6050304@intersonic.se> Date: Thu, 27 Apr 2006 20:52:33 +0200 From: Per olof Ljungmark User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: Joerg Pulz References: <444FFC8F.90402@intersonic.se> <445093B1.6050008@univ-tours.fr> <4450F96E.5020601@intersonic.se> <20060427203545.F52948@hades.admin.frm2> In-Reply-To: <20060427203545.F52948@hades.admin.frm2> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: postfix with OpenLDAP 2.3 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Apr 2006 18:52:44 -0000 Joerg Pulz wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > > On Thu, 27 Apr 2006, Per olof Ljungmark wrote: > >>>> openldap-server-2.3.21 >>>> >>>> How can I make postfix build with this version of OpenLDAP? It wants >>>> 2.2... >>>> >>>> Thanks >>> >>> Have a try with WANT_OPENLDAP_VER=23 instead of WITH_OPENLDAP_VER=2.3.21 >> >> Thank you, that worked fine! >> Now I have the same issue with php5-extensions that also wants the >> 2.2.7 ldap libraries from openldap22. I cant find a switch here >> unfortunately. > > It's the same thing as for postfix. WANT_OPENLDAP_VER=23 is your friend. > The OpenLDAP version decision is made by Mk/bsd.port.mk if the port uses > USE_OPENLDAP=yes like it is in lang/php5/Makefile.ext which is actually > the dependency handler of lang/php5-extensions. > The default OpenLDAP version is set by Mk/bsd.port.mk and currently it > is WANT_OPENLDAP_VER?=22 . > I'm currently investigating how many ports will break when we change the > system wide default of WANT_OPENLDAP_VER from "22" to "23". If anything > runs fine, we will probably have "23" as default soon. > > You should add "WANT_OPENLDAP_VER=23" to your /etc/make.conf to get rid > of this problem, otherwise you will hit the same problem again for every > OpenLDAP dependent port. Thank you very much for this valuable piece of information! I must admit I've been lazy here, I could have found this out myself through RTFM. Per olof