From owner-freebsd-ports@FreeBSD.ORG Tue May 9 11:14:28 2006 Return-Path: X-Original-To: freebsd-ports@FreeBSD.org Delivered-To: freebsd-ports@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 09FA016A421; Tue, 9 May 2006 11:14:28 +0000 (UTC) (envelope-from laszlof@vonostingroup.com) Received: from ritamari.vonostingroup.com (ritamari.vonostingroup.com [216.144.193.230]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5C54643D46; Tue, 9 May 2006 11:14:27 +0000 (GMT) (envelope-from laszlof@vonostingroup.com) Received: from c-71-227-92-22.hsd1.mi.comcast.net ([71.227.92.22] helo=[192.168.0.3]) by ritamari.vonostingroup.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.60 (FreeBSD)) (envelope-from ) id 1FdQBg-00028U-Vg; Tue, 09 May 2006 07:15:33 -0400 Message-ID: <4460798A.4010208@vonostingroup.com> Date: Tue, 09 May 2006 07:14:18 -0400 From: Frank Laszlo User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: pav@FreeBSD.org References: <20060508200926.GA6005@daemons.gr> <20060508212441.GB767@picobyte.net> <1147124004.18944.77.camel@ikaros.oook.cz> In-Reply-To: <1147124004.18944.77.camel@ikaros.oook.cz> Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 8bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - ritamari.vonostingroup.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [26 6] X-AntiAbuse: Sender Address Domain - vonostingroup.com X-Source: X-Source-Args: X-Source-Dir: Cc: Sideris Michael , freebsd-ports@FreeBSD.org Subject: Re: ports structure and improvement suggestions X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 May 2006 11:14:28 -0000 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