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/ _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"