ports/95092: Re: [PATCH]: Add knob to allow for mutually exclusive OPTIONS

Frank Laszlo laszlof at vonostingroup.com
Fri Mar 31 00:40:10 UTC 2006


The following reply was made to PR ports/95092; it has been noted by GNATS.

From: Frank Laszlo <laszlof at vonostingroup.com>
To: Kris Kennaway <kris at obsecurity.org>
Cc: Clement Laforet <clement at FreeBSD.org>, 
 FreeBSD-gnats-submit at freebsd.org,  portmgr at 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



More information about the freebsd-ports-bugs mailing list