Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 07 Jun 2013 15:30:15 +0200
From:      Tijl Coosemans <tijl@coosemans.org>
To:        Baptiste Daroussin <bapt@FreeBSD.org>
Cc:        ports@FreeBSD.org, Vitaly Magerya <vmagerya@gmail.com>
Subject:   Re: [HEADSUP] dialog4ports does not popup anymore only for global options
Message-ID:  <51B1E067.8070204@coosemans.org>
In-Reply-To: <20130607113959.GI35160@ithaqua.etoilebsd.net>
References:  <20130607081210.GD35160@ithaqua.etoilebsd.net> <51B1A5D8.8070906@gmail.com> <20130607094227.GE35160@ithaqua.etoilebsd.net> <51B1B2D5.8020901@gmail.com> <20130607101758.GF35160@ithaqua.etoilebsd.net> <51B1B9F0.2030206@coosemans.org> <20130607113959.GI35160@ithaqua.etoilebsd.net>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
------enig2GKXGFVTMFIHRWOPWAGXF
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On 2013-06-07 13:40, Baptiste Daroussin wrote:
> On Fri, Jun 07, 2013 at 12:46:08PM +0200, Tijl Coosemans wrote:
>> On 2013-06-07 12:17, Baptiste Daroussin wrote:
>>> On Fri, Jun 07, 2013 at 01:15:49PM +0300, Vitaly Magerya wrote:
>>>> Baptiste Daroussin wrote:
>>>>>> Is it possible to still show the dialog if one of those options im=
plies
>>>>>> additional dependencies?
>>>>>>
>>>>>> If not, what should those of us who do not want them installed do?=

>>>>>
>>>>> make config will always show those options so you can always tune t=
hem.
>>>>>
>>>>> just make config-conditional will not fireup a new dialog automatic=
ally if the
>>>>> defined options are only those from the global options.
>>>>
>>>> I see. As far as I can tell though, and correct me if I'm wrong, but=

>>>> 'make install' doesn't show those options. It also does not show tho=
se
>>>> options for dependent ports. Neither does 'make config-recursive'.
>>>>
>>>> Tools like portmaster will now ignore those as well during install a=
nd
>>>> reinstall.
>>>>
>>>> So, again, what are my options if I don't want dependencies to be pu=
lled
>>>> in silently?
>>>
>>> You have no options and you never had one in the ports tree sorry.
>>>
>>> If you have a way to implement that cleanly, I'll be happy to push su=
ch features
>>> in the ports but really I see a way to do what you ask for.
>>
>> How about only suppressing the dialog if the options have been explici=
tly
>> set or unset in make.conf?
>
> That would be easy but is that a really desired feature?

I can only speak for myself, but I don't see DOCS as a global option.
For some ports I want documentation, for others I don't, so I want the
dialog to show up even if DOCS is the only option.

There doesn't seem to be a clear cut line between global and per port
options and different users have different opinions about it.

Can you make it such that config-conditional suppresses the dialog
if all options have been explicitly set or unset either through
command line, make.conf or optionsfile? Or in other words only show
the dialog if one of the options falls back to a default value (e.g.
when a new option has been added to a port and that option has not
been set globally).

I think that would allow anyone to set/unset any option globally and
not be bothered by dialogs without enforcing that view on everybody
else. You wouldn't need GLOBAL_OPTIONS any more then.


------enig2GKXGFVTMFIHRWOPWAGXF
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

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

iF4EAREIAAYFAlGx4GwACgkQfoCS2CCgtiuS1QD+J34r3sh+4sOGdx5Xfkxvjm02
xZeePGGYRN/g00FspZ0A+wehp0aab87w/9WcYFnB8Bot3LfF8eRashwLg2tuKIpY
=Llwi
-----END PGP SIGNATURE-----

------enig2GKXGFVTMFIHRWOPWAGXF--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?51B1E067.8070204>