Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Feb 2014 16:08:48 +0100
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        Eygene Ryabinkin <rea@freebsd.org>
Cc:        Mathieu Arnold <mat@freebsd.org>, apache@freebsd.org, FreeBSD Ports Management Team <portmgr@freebsd.org>
Subject:   Re: Patch for devel/apr1
Message-ID:  <CAALwa8=XRH2W8ZnU5ynGgxm3bZGU7V=SL2hDbZVyJgFSBQmAmw@mail.gmail.com>
In-Reply-To: <si3TtFF7heojydymL3/cz%2BBr880@W4hAcbyY3boCl2ecg4/u9JA8hSY>
References:  <W/LXQdmArDuvEZINc6uIco1Q77Q@DMnR65URhR2fwN60Ud5mwsygncU> <rPjS0dCkOXQwLs9s6PofV/p/GT4@Edl7HbwHujl6CRBF88MhHM/peE4> <d73YgQvFILY2/L/3172O%2BSqT8sQ@Edl7HbwHujl6CRBF88MhHM/peE4> <329E85FD56E28E496CF7A8D1@ogg.in.absolight.net> <si3TtFF7heojydymL3/cz%2BBr880@W4hAcbyY3boCl2ecg4/u9JA8hSY> <F5D7C8BA190F257D33F0ED53@ogg.in.absolight.net> <si3TtFF7heojydymL3/cz%2BBr880@W4hAcbyY3boCl2ecg4/u9JA8hSY>

index | next in thread | previous in thread | raw e-mail

On Mon, Feb 24, 2014 at 3:59 PM, Eygene Ryabinkin <rea@freebsd.org> wrote:
> Mon, Feb 24, 2014 at 03:51:00PM +0100, Mathieu Arnold wrote:
>> +--On 24 février 2014 18:30:51 +0400 Eygene Ryabinkin <rea@freebsd.org>
>> wrote:
>> | http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/book.ht
>> | ml section 5.12.2.2?  Or, alternatively, with Mk/bsd.options.mk lines 178,
>>
>> I'm familiar with the porter's handbook, where in 5.12.2.2 do you see
>> anything about WITH_ or WITHOUT_ ?
>
> It says "OPTIONS_DEFINE contains a list of OPTIONS to be used. These
> are independent of each other and are not grouped".
>
>> If you need to globally set some options, you should put things like this
>> in your make.conf:
>>
>> OPTIONS_SET= LDAP
>>
>> Or like antoine said, if you need them on the command line, WITH=LDAP
>
> I am setting per-port options via
> {{{
> # Apache portable library
> .if ${.CURDIR:M/usr/ports/devel/apr1}
> BATCH=yes
> WITH_THREADS=yes
> WITHOUT_IPV6=yes
> WITH_BDB=yes
> WITH_GDBM=yes
> WITHOUT_LDAP=yes
> WITHOUT_MYSQL=yes
> WITHOUT_NDBM=yes
> WITHOUT_PGSQL=yes
> WITHOUT_SQLITE=yes
> WITH_DEVRANDOM=yes
> .endif
> }}}
>
> Probably it should be changed to 'WITH=THREADS BDB GDBM ...', but why
> WITH_/WITHOUT_ knobs were eliminated?  I have over 100 systems where
> I have these settings for over than 200 ports on each.  Of course, I can
> automate that, but what was the reason?


It looks like you missed those 2 announces:
How to configure via make.conf:
http://lists.freebsd.org/pipermail/freebsd-ports-announce/2013-June/000062.html
Announce of WITH_FOO/WITHOUT_FOO deprecation:
http://lists.freebsd.org/pipermail/freebsd-ports-announce/2013-June/000061.html

Cheers,

Antoine


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAALwa8=XRH2W8ZnU5ynGgxm3bZGU7V=SL2hDbZVyJgFSBQmAmw>