pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Avoid built-in OpenLDAP



On Saturday 30 May 2009 09:29:00 Emmanuel Dreyfus wrote:
> Emmanuel Dreyfus <manu%netbsd.org@localhost> wrote:
> > I am trying to have SASL support in databases/php-ldap. That require
> > not linking aginast NetBSD builtin OpenLDAP, which does not have SASL
> > support.
> >
> > Adding the opions.mk there to get it linking against
> > databases/openldap-client (which has an SASL option) is easy. However,
> > I face a more difficult problem later: Apache itself is linked against
> > the built-in OpenLDAP, and the PHP module will therefore use the
> > built-in, SASL-disabled libldap

Isn't this just a matter of putting "PREFER_PKGSRC=openldap-client" in your 
mk.conf?   I have that in mine and haven't noticed any problems.


cheers
mark


Home | Main Index | Thread Index | Old Index