Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Feb 2014 18:59:17 +0400
From:      Eygene Ryabinkin <rea@freebsd.org>
To:        Mathieu Arnold <mat@FreeBSD.org>
Cc:        apache@freebsd.org, portmgr@freebsd.org
Subject:   Re: Patch for devel/apr1
Message-ID:  <si3TtFF7heojydymL3/cz%2BBr880@W4hAcbyY3boCl2ecg4/u9JA8hSY>
In-Reply-To: <F5D7C8BA190F257D33F0ED53@ogg.in.absolight.net>
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>

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

[-- Attachment #1 --]
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?
-- 
Eygene Ryabinkin                                        ,,,^..^,,,
[ Life's unfair - but root password helps!           | codelabs.ru ]
[ 82FE 06BC D497 C0DE 49EC  4FF0 16AF 9EAE 8152 ECFB | freebsd.org ]

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (FreeBSD)

iL4EABEKAGYFAlMLXkVfFIAAAAAALgAoaXNzdWVyLWZwckBub3RhdGlvbnMub3Bl
bnBncC5maWZ0aGhvcnNlbWFuLm5ldDgyRkUwNkJDRDQ5N0MwREU0OUVDNEZGMDE2
QUY5RUFFODE1MkVDRkIACgkQFq+eroFS7Pt+MwEAkclGW1+YP7SB89IWyf8Sin79
+XgljbQkcyr8o3ys2l4A/jVKgP+5SoeHXb9vRqaeEE4puZTHd8QIMw3u/e1VIZNV
=cKsg
-----END PGP SIGNATURE-----
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?si3TtFF7heojydymL3/cz%2BBr880>