Re: Building RELENG_8_0 confused by openldap.

From: Ulrich Spörlein <uqs_at_spoerlein.net>
Date: Sun, 29 Nov 2009 10:21:52 +0100
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
Received on Sun Nov 29 2009 - 08:21:54 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:58 UTC