mutually exclusive OPTIONS?

Danny Pansters danny at
Wed Mar 29 23:38:48 UTC 2006

On Thursday 30 March 2006 00:55, you wrote:
> Danny Pansters wrote:
> > On Wednesday 29 March 2006 23:49, Freddie Cash wrote:
> >> On Wed, March 29, 2006 1:44 pm, Danny Pansters wrote:
> >>> I'm making a port that has several mutually exclusive compile-time
> >>> options. I want to present them as OPTIONS as should, but is there a
> >>> way within the ports framework to ensure that only one (of the 5
> >>> possibilities) is selected, or when one of them is the default but
> >>> then with 4 mutually exclusive OPTIONS if the user needs one of teh
> >>> non-default options?
> See ports/95085[1]. Thanks
> Cheers,
>     Frank
> [1]

Nice. That's pretty much what I asked for, radio/combo box behaviour, I knew 
it was in dialog but not in ports. However, I also have two other options 
that are of the A or B flavor. The way it's done now, these don't really mix, 

Perhaps some more dialog lingo could go in port OPTIONS, especially since it's 
increasingly becoming (rightfully so) the de facto way to present 
build/install choices. I'm not very familiar with dialog but I'm afraid that 
the functionality I would like to see would unavoidably require submenus 
(translated to suboptions) much like sysinstall does. Are more people 
interested in having some more dialog-foo incorperated into port OPTIONS?

(I'm willing to chip in or at least test)



More information about the freebsd-ports mailing list