Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Mar 2006 01:38:39 +0200
From:      Danny Pansters <danny@ricin.com>
To:        freebsd-ports@freebsd.org
Cc:        Frank Laszlo <laszlof@vonostingroup.com>
Subject:   Re: mutually exclusive OPTIONS?
Message-ID:  <200603300138.39790.danny@ricin.com>
In-Reply-To: <442B1057.5000904@vonostingroup.com>
References:  <200603292344.52149.danny@ricin.com> <200603292353.15786.danny@ricin.com> <442B1057.5000904@vonostingroup.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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]http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/95085

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, 
right?

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)

Thanks,

Dan



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