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>

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

--Bu8it7iiRSEf40bY
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Mon, Feb 24, 2014 at 03:51:00PM +0100, Mathieu Arnold wrote:
> +--On 24 f=C3=A9vrier 2014 18:30:51 +0400 Eygene Ryabinkin <rea@freebsd.o=
rg>
> 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 1=
78,
>=20
> 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:
>=20
> OPTIONS_SET=3D LDAP
>=20
> Or like antoine said, if you need them on the command line, WITH=3DLDAP

I am setting per-port options via
{{{
# Apache portable library
=2Eif ${.CURDIR:M/usr/ports/devel/apr1}
BATCH=3Dyes
WITH_THREADS=3Dyes
WITHOUT_IPV6=3Dyes
WITH_BDB=3Dyes
WITH_GDBM=3Dyes
WITHOUT_LDAP=3Dyes
WITHOUT_MYSQL=3Dyes
WITHOUT_NDBM=3Dyes
WITHOUT_PGSQL=3Dyes
WITHOUT_SQLITE=3Dyes
WITH_DEVRANDOM=3Dyes
=2Eendif
}}}

Probably it should be changed to 'WITH=3DTHREADS 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?
--=20
Eygene Ryabinkin                                        ,,,^..^,,,
[ Life's unfair - but root password helps!           | codelabs.ru ]
[ 82FE 06BC D497 C0DE 49EC  4FF0 16AF 9EAE 8152 ECFB | freebsd.org ]

--Bu8it7iiRSEf40bY
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (FreeBSD)

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

--Bu8it7iiRSEf40bY--



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