From owner-freebsd-questions@FreeBSD.ORG Thu Sep 25 17:56:29 2003 Return-Path: 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 8A16C16A4B3 for ; Thu, 25 Sep 2003 17:56:29 -0700 (PDT) Received: from munk.nu (mail.munk.nu [213.152.51.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 52C9644005 for ; Thu, 25 Sep 2003 17:56:28 -0700 (PDT) (envelope-from munk@munk.nu) Received: from munk by munk.nu with local (Exim 4.22) id 1A2guJ-0006jt-92 for freebsd-questions@freebsd.org; Fri, 26 Sep 2003 01:56:27 +0100 Date: Fri, 26 Sep 2003 01:56:27 +0100 From: Jez Hancock To: FreeBSD Questions List Message-ID: <20030926005627.GC14611@users.munk.nu> Mail-Followup-To: FreeBSD Questions List References: <3F73436F.7020302@intersonic.se> <20030925203042.GC12240@users.munk.nu> <3F735547.7080902@intersonic.se> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3F735547.7080902@intersonic.se> User-Agent: Mutt/1.4.1i Sender: User Munk Subject: Re: build saslauthd with ldap support X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Sep 2003 00:56:29 -0000 On Thu, Sep 25, 2003 at 10:51:19PM +0200, Per olof Ljungmark wrote: > Jez Hancock wrote: > >On Thu, Sep 25, 2003 at 09:35:11PM +0200, Per olof Ljungmark wrote: > >>I'm trying to build the port cyrus-sasl2-saslauthd from ports with ldap > >>support but cannot figure out what make command to issue in the ports > >>tree. > >> > >>Anybody who could enlighten me here? > > > >Doesn't look like hte port explicitly caters for LDAP - in as much as > >there's no 'WITH_LDAP' toggle :) > > > >Have you read: > >/usr/ports/security/cyrus-sasl2-saslauthd/work/cyrus-sasl-2.1.15/saslauthd/LDAP_SASLAUTHD > > Yes, I've read it. > Looking at the Makefile in /usr/ports/security/cyrus-sasl2-saslauthd, it > says (part of) > .if defined(WITH_OPENLDAP_VER) > WITH_OPENLDAP= yes > WANT_OPENLDAP_VER= ${WITH_OPENLDAP_VER} > .endif > .if defined(WITH_OPENLDAP) > .if defined(WANT_OPENLDAP_VER) && ${WANT_OPENLDAP_VER} == 12 > BROKEN= "this port requires OpenLDAP >= 2.0" > .endif > USE_OPENLDAP= yes > CONFIGURE_ARGS+=--with-ldap=${PREFIX} > .endif > > I'm sure I can figure out how to build it with ldap as a normal > configure-make-install, but I *want* to do it from the ports tree if > possible. Sorry I must have grep'd for ladp or somesuch! I didn't see that make env vbl in the Makefile. So what happens when you run: make clean && make install -DWITH_OPENLDAP in the saslauthd ports dir? Sorry I don't have access to a test box right now to try this. -- Jez http://www.munk.nu/