Date: Fri, 2 Nov 2018 11:41:45 +0100 From: Mathieu Arnold <mat@FreeBSD.org> To: Harry Schmalzbauer <freebsd@omnilan.de> Cc: freebsd-ports@freebsd.org Subject: Re: options DOCS + EXAMPLES Message-ID: <20181102104145.mjj6iogd2rbvjs76@atuin.in.mat.cc> In-Reply-To: <03c1b59a-1e79-8177-2c6e-dbdfe065b03a@omnilan.de> References: <07935967-fe29-c638-0bc3-2fd00cc9cee7@omnilan.de> <20181102102457.735xhicm32ghxpac@atuin.in.mat.cc> <03c1b59a-1e79-8177-2c6e-dbdfe065b03a@omnilan.de>
next in thread | previous in thread | raw e-mail | index | archive | help
--l7yb6kwf6syegzhr Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Nov 02, 2018 at 11:33:11AM +0100, Harry Schmalzbauer wrote: > Am 02.11.2018 um 11:24 schrieb Mathieu Arnold: > > On Fri, Nov 02, 2018 at 10:49:52AM +0100, Harry Schmalzbauer wrote: > > > Hello, > > >=20 > > > found out that the need to define DOCS and EXAMPLES in OPTIONS_DEFINE= was > > > made mandatory some time ago, which ports-mgmt/portlint isn't aware a= bout > > > yet (found https://reviews.freebsd.org/D13036). > > >=20 > > > I intentionally haven't defined it, because I want to make use of the > > > bsd.ports.mk handling of PORTDOCS and PORTEXAMPLES, but don't want to= spam > > > the UI.=A0 EXAMPLES and DOCS shall stay mandatory for my port, as lon= g as the > > > user changes the corresponding defaults. > > >=20 > > > How do I hide the user selection for EXAMPLES and DOCS after the chan= ge > > > (which I wasn't able to find by reading commit logs)? > >=20 > > I am not sure what you are asking. > >=20 > > To be able to use PORTDOCS or PORTEXAMPLES, you must define a DOCS or an > > EXAMPLES option. > >=20 > > The users must be allowed to choose if they want documentation or > > examples to be installed. If you personnaly do not want the options > > dialog to show up when you build ports, you can set BATCH in your > > environment. >=20 > Thank you for your answer. > In my case, I have additional options, so I can't use BATCH. > Please see my opinion about the DOCS/EXAMPLES selection in the reply to > myself, where I reference the commit introducing this change and where I If you want to hide them, you can always set in your make.conf: OPTIONS_SLAVE=3D DOCS EXAMPLES (or OPTIONS_EXCLUDE to disable the options.) > explain why in many/most cases, I consider these DOCS/EXAMPLES/NLS options > as spam. Thank you for your input. --=20 Mathieu Arnold --l7yb6kwf6syegzhr Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAABCgB9FiEEOraXidLtEhBkQLpbOkUW81GDzkgFAlvcKehfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNB QjY5Nzg5RDJFRDEyMTA2NDQwQkE1QjNBNDUxNkYzNTE4M0NFNDgACgkQOkUW81GD zkgYnQ//Sw/GS6r4oq26WNvF3X260gffFPUhvMmX206gr3wHIYEIkyaIKCWjTvuO LWiU0KcMufqzZihHAUPXTM4u1GCat74jFb2BTCOWTRSSpoCGFZHotWzNIvZTubVM QgtzfVJGOcYblWequujI2hx1ZkP2w+chc60q3JoQYqaD+aUEYmIQUxcWsvxanub8 PskQu6LalFlnGFKY3Dms0kyq7CeoOzx8quZfxtuAnfE12gPy/fN8GsLI1JfGD5qL dZ2miFxEuUI9eQDRy1M2UIsoxHVXROfUM4nzwfk3TfiEWCBl8B93VwFgT2lqZ6ix fNGal/An4LLYOR1BWCieFHb8fOXiTtHn4YKBpItmJUkxY4xQZbLucGPDBpbG0NYc z1kblU0lWFyU5ZzDbU1lUayaxaC4wY3MWDJ+xiQ3+NRe81x/kntj+z97aO9lqCh3 Py8XYl7j2zjMcTXL/wdoy2scilKa64zCzPA5mgN/1oHMzHcgtzWvXackuZ3miU5u gMK1hYz/Gj1PKwRGJfTjKn41MHD4EGd2CyLe8qujxyOpd09lkQ27613ghCKbp12N Zwg/6IkTapfAd+mWDhw7b3vfDsuob6LfYaS+SpTtxN80gsWdyUf2GBH5FstN2oHO XdXPM+ML6/UBUeVEirnkv7BY+dlMaeNN8D1mGWnjcOiABhOjvrs= =H1R7 -----END PGP SIGNATURE----- --l7yb6kwf6syegzhr--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20181102104145.mjj6iogd2rbvjs76>