Building RELENG_8_0 confused by openldap.

Ulrich Spörlein uqs at spoerlein.net
Sun Nov 29 09:21:54 UTC 2009


On Fri, 27.11.2009 at 07:24:24 +0000, Matthew Seaman wrote:
> Scot Hetzel wrote:
> > Do you have WITH_OPENLDAP defined in /etc/make.conf?
> > 
> > One way to prevent Ports configuration variables from affecting the
> > build of the FreeBSD src is to use ports-mgmt/portconf, and put those
> > variables in /usr/local/etc/ports.conf file.
> 
> D'Oh! Of course I do have WITH_OPENLDAP defined in /etc/make.conf, so
> linking against the LDAP libs is just doing what I told it to do.  No
> problem.

You should wrap these settings with something like the following:

.if ${.CURDIR:M*/usr/ports*}
WITH_OPENLDAP=  yes
.endif

Cheers,
Uli


More information about the freebsd-current mailing list