From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Mar 31 00:40:10 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B797616A41F for ; Fri, 31 Mar 2006 00:40:10 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3441A43D79 for ; Fri, 31 Mar 2006 00:40:10 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k2V0e9a7006707 for ; Fri, 31 Mar 2006 00:40:09 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k2V0e9Mn006706; Fri, 31 Mar 2006 00:40:09 GMT (envelope-from gnats) Date: Fri, 31 Mar 2006 00:40:09 GMT Message-Id: <200603310040.k2V0e9Mn006706@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: Frank Laszlo Cc: Subject: Re: ports/95092: Re: [PATCH]: Add knob to allow for mutually exclusive OPTIONS X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Frank Laszlo List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Mar 2006 00:40:10 -0000 The following reply was made to PR ports/95092; it has been noted by GNATS. From: Frank Laszlo To: Kris Kennaway Cc: Clement Laforet , 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