Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Nov 2009 10:21:52 +0100
From:      Ulrich =?utf-8?B?U3DDtnJsZWlu?= <uqs@spoerlein.net>
To:        Matthew Seaman <m.seaman@infracaninophile.co.uk>
Cc:        Scot Hetzel <swhetzel@gmail.com>, freebsd-current@freebsd.org
Subject:   Re: Building RELENG_8_0 confused by openldap.
Message-ID:  <20091129092152.GJ3406@acme.spoerlein.net>
In-Reply-To: <4B0F7EA8.4090408@infracaninophile.co.uk>
References:  <4B0E57CC.7050509@infracaninophile.co.uk> <4B0F244A.60404@infracaninophile.co.uk> <790a9fff0911262149q2ccc91ecw23b89e067ef654ff@mail.gmail.com> <4B0F7EA8.4090408@infracaninophile.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20091129092152.GJ3406>