Patch for devel/apr1
Antoine Brodin
antoine at FreeBSD.org
Mon Feb 24 14:41:17 UTC 2014
On Mon, Feb 24, 2014 at 3:30 PM, Eygene Ryabinkin <rea at freebsd.org> wrote:
> Mathieu, good day.
>
> Mon, Feb 24, 2014 at 02:40:34PM +0100, Mathieu Arnold wrote:
>> +--On 24 février 2014 04:31:40 +0400 Eygene Ryabinkin <rea at freebsd.org>
>> wrote:
>> | Sat, Feb 22, 2014 at 12:04:51PM +0400, Eygene Ryabinkin wrote:
>> |> Thu, Feb 20, 2014 at 11:16:40PM +0400, Eygene Ryabinkin wrote:
>> |> > Attached is the patch that fixes handling of WITH_/WITHOUT_ knobs
>> |> > (and may be something else). How to reproduce: set WITH_LDAP via
>> |> > make's command line and build apr1. You will end up with APR that
>> |> > doesn't support LDAP. Tested on port's HEAD at r343654.
>> |>
>> |> Gentlemen? Is anyone around to look at this?
>> |
>> | Involving portmgr. Gentlemen, devel/apr1 doesn't have OPTIONS_DEFINE set,
>> | so this breaks at least handling of WITH/WITHOUT options. Can I have
>> | approval for the patch?
>>
>> Hum, no, I don't see why it would be needed. What does it fix ?
>
> Building with 'make WITH_LDAP=yes', for example. It won't produce
> your LDAP-powered APR if you hadn't used 'make options' and selected
> LDAP there before.
>
> Do you familiar with
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/book.html
> section 5.12.2.2? Or, alternatively, with Mk/bsd.options.mk lines 178,
> {{{
> ALL_OPTIONS:= ${OPTIONS_DEFINE:O:u}
> }}}
> and block starting at line 260
> {{{
> .for opt in ${ALL_OPTIONS}
> .if defined(WITH_${opt})
> PORT_OPTIONS+= ${opt}
> .endif
> .if defined(WITHOUT_${opt})
> PORT_OPTIONS:= ${PORT_OPTIONS:N${opt}}
> .endif
> .endfor
> }}}
Hi,
WITH_LDAP syntax is deprecated and doesn't work for options in a group.
You can use make WITH=LDAP
Cheers,
Antoine
More information about the freebsd-apache
mailing list