Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Jun 2015 10:15:12 +0200
From:      John Marino <freebsd.contact@marino.st>
To:        Pavel Timofeev <timp87@gmail.com>, koobs@freebsd.org
Cc:        ports-committers@freebsd.org, svn-ports-all@freebsd.org,  svn-ports-head@freebsd.org, Bryan Drewery <bdrewery@freebsd.org>,  sunpoet@freebsd.org, Mathieu <mat@freebsd.org>,  Adam Weinberger <adamw@freebsd.org>, timur@freebsd.org
Subject:   Re: svn commit: r390526 - head/ftp/curl
Message-ID:  <558BB890.9010102@marino.st>
In-Reply-To: <CAAoTqfv7ay8Ni%2BFpwAqUxpqyZh-iNaQXj2SJHm_u79-Bu5Ccwg@mail.gmail.com>
References:  <201506250022.t5P0MURx089077@svn.freebsd.org>	<558B5E47.6000409@FreeBSD.org> <CAAoTqfv7ay8Ni%2BFpwAqUxpqyZh-iNaQXj2SJHm_u79-Bu5Ccwg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?558BB890.9010102>