Date: Fri, 31 Mar 2006 00:40:09 GMT From: Frank Laszlo <laszlof@vonostingroup.com> To: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/95092: Re: [PATCH]: Add knob to allow for mutually exclusive OPTIONS Message-ID: <200603310040.k2V0e9Mn006706@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/95092; it has been noted by GNATS. From: Frank Laszlo <laszlof@vonostingroup.com> To: Kris Kennaway <kris@obsecurity.org> Cc: Clement Laforet <clement@FreeBSD.org>, FreeBSD-gnats-submit@freebsd.org, portmgr@freebsd.org Subject: Re: ports/95092: Re: [PATCH]: Add knob to allow for mutually exclusive OPTIONS Date: Thu, 30 Mar 2006 19:34:16 -0500 Please keep this subject so that it is properly filed in gnats. I believe that this would be an excellent addition to the ports collection, but further expansion should be done. Building the framework to allow more features with OPTIONS. Such as submenus, much like those used in sysinstall. This would allow for port maintainers to more specifically allow certain options, and not allow other options. Lets take for example a port that requires a database backend. There are 3 choices we have, pgsql, mysql, or flatfile. This port also has options for enabling FOO and BAR. This would pose to be a problem with the current system, and we would have to preform several " if defined" statements to filter out mistakes the user may make. If we had submenus, we couple simple make a "Backend" submenu with --radiolist, and a "Feature" submenu with --checklist. I believe it would be fairly trivial to implement this into bsd.port.mk and would be willing to submit patches if there is interest for such a feature. Cheers, Frank
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200603310040.k2V0e9Mn006706>