Date: Tue, 09 May 2006 07:14:18 -0400 From: Frank Laszlo <laszlof@vonostingroup.com> To: pav@FreeBSD.org Cc: Sideris Michael <msid@daemons.gr>, freebsd-ports@FreeBSD.org Subject: Re: ports structure and improvement suggestions Message-ID: <4460798A.4010208@vonostingroup.com> In-Reply-To: <1147124004.18944.77.camel@ikaros.oook.cz> References: <20060508200926.GA6005@daemons.gr> <20060508212441.GB767@picobyte.net> <1147124004.18944.77.camel@ikaros.oook.cz>
next in thread | previous in thread | raw e-mail | index | archive | help
Pav Lucistnik wrote: > Shaun Amott píše v po 08. 05. 2006 v 22:24 +0100: > > That's a good summary. > > >> Unfortunately, the OPTIONS framework is somewhat limited in its current >> state. One problem is that OPTIONS needs to be defined before including >> bsd.port.pre.mk, but then the processing of WITH(OUT)_* variables has to >> be done afterwards. For example, www/horde has a huge list of knobs, but >> only a handful could be converted to OPTIONS because they set variables >> that need to be defined before bsd.port.pre.mk is included. As a >> sidenote, I submitted a simple patch to "fix" this some time ago, but it >> doesn't appear to have had much interest. :-) >> >> Another issue is that the framework only includes support for simple >> checklists: no submenus, no "radio" controls , etc. There's no >> reasonable way - other than spitting out an error message and asking >> the user to try again - of dealing with mutually exclusive knobs in >> OPTIONS. >> >> There is also no space for detailed descriptions of what knobs do inside >> the OPTIONS dialog. It is often easier to make the user look at the >> Makefile for a description and/or print out a message before installing. >> FYI, I am currently working on some OPTIONS enhancements including submenu's, radio dialogs, and things of this nature. Also fixing a few inherent problems with the way OPTIONS are handled as I go. I'll report back when I have something final. -Frank Laszlo
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4460798A.4010208>