From owner-freebsd-ports@FreeBSD.ORG Thu May 11 10:48:36 2006 Return-Path: X-Original-To: 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 6989816A40F for ; Thu, 11 May 2006 10:48:36 +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 6C4D143D68 for ; Thu, 11 May 2006 10:48:30 +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 1Fe8ic-0009sM-5H; Thu, 11 May 2006 06:48:30 -0400 Message-ID: <44631677.7040409@vonostingroup.com> Date: Thu, 11 May 2006 06:48:23 -0400 From: Frank Laszlo User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: Serge Gagnon References: <20060508200926.GA6005@daemons.gr> <20060508212441.GB767@picobyte.net> <20060510190606.GH44733@iib.unsam.edu.ar> <0IZ200LU6MUTD391@VL-MH-MR002.ip.videotron.ca> In-Reply-To: <0IZ200LU6MUTD391@VL-MH-MR002.ip.videotron.ca> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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: 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: Thu, 11 May 2006 10:48:36 -0000 Serge Gagnon wrote: > >>>>>> On Thu, 11 May 2006, "martinko" == martinko wrote: >>>>>> > > martinko> Fernan Aguero wrote: > > +> +----[ martinko (10.May.2006 16:01): | | Shaun > +> Amott wrote: | > | > 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. | > | | the problem with messages is > +> imho that they are basically all the same | level and once you run make > +> or portupgrade you won't usually have a | chance to read any of them. > +> many times i noticed something only because | of pure luck and then > +> often i had to stop the installation process so | that i could read the > +> message. :( | +----] > > +> use script(1)? > > +> Fernan > > martinko> sure. the problem is that if you compile something bigger script > martinko> output would likely be huge. big size, hard to check and look > martinko> for important information. also, it happened to me a few times > martinko> that i stopped installation because of a message i noticed. had > martinko> i not been lucky and/or watched the screen i would have found > martinko> too late, if at all. > > If you're talking about message that the port is saying about KNOB, try > grep ECHO Makefile and if you're talking about message while the port is > installing stuff, try cat pkg-message before installing this port ;-) > As I said before, a simple method to fix this problem would be to extend the way OPTIONS works, where we create a new target to list possibly options for the port, and require maintainers to keep it up to date. i.e. # make options ===> Options for foo/bar. WITH_BAR Build port with support for bar WITH_FOO blah WITH_A blah blah... This would be fairly simple to implement using the current way OPTIONS are handled, I'll add this to my list of todo items. -Frank