build saslauthd with ldap support
Per olof Ljungmark
peo at intersonic.se
Thu Sep 25 13:51:30 PDT 2003
Jez Hancock wrote:
> On Thu, Sep 25, 2003 at 09:35:11PM +0200, Per olof Ljungmark wrote:
>
>>Hi all,
>>
>>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.
Per olof
More information about the freebsd-questions
mailing list