svn commit: r390526 - head/ftp/curl

John Marino freebsd.contact at marino.st
Thu Jun 25 08:15:25 UTC 2015


On 6/25/2015 10:03, Pavel Timofeev wrote:
> Hi!
> I partly agree with @koobs, back in days I'd prefer to use
> OPTIONS_RADIO instead of OPTIONS_SINGLE (FOO_NONE).
> But when I was adding a choice to www/squid, I saw an example in
> ports/Mk/Uses/gssapi.mk with OPTIONS_SINGLE.
> And I'm not sure if OPTIONS_RADIO has an ability to say that nothing is chosen.
> 
> At the other hand in the rest of the world 'radio buttons' allow you
> to select only one option, not none of them.
> So it is normal if one of the options is NO_PETS among CAT, DOG and PARROT.
> But we, in ports tree, don't call it radio buttons. We call 'radio
> buttons' something different. That's a mess I think.
> 
> I can misunderstand something, sorry!
> 
> P.S. Now I'd prefer to delete an old OPTIONS_RADIO macro then rename
> OPTIONS_SINGLE to OPTIONS_RADIO.

The single vs. radio naming issue is both unfortunate and well known.
Basically we're stuck with it.

It's one of those things you just have to know is badly named and do the
right thing.

John


More information about the svn-ports-head mailing list