Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 May 2006 06:48:23 -0400
From:      Frank Laszlo <laszlof@vonostingroup.com>
To:        Serge Gagnon <serge.gagnon@b2b2c.ca>
Cc:        ports@freebsd.org
Subject:   Re: ports structure and improvement suggestions
Message-ID:  <44631677.7040409@vonostingroup.com>
In-Reply-To: <0IZ200LU6MUTD391@VL-MH-MR002.ip.videotron.ca>
References:  <20060508200926.GA6005@daemons.gr>	<20060508212441.GB767@picobyte.net> <e3tcpq$fc1$1@sea.gmane.org>	<20060510190606.GH44733@iib.unsam.edu.ar> <e3to04$o4n$1@sea.gmane.org> <0IZ200LU6MUTD391@VL-MH-MR002.ip.videotron.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
Serge Gagnon wrote:
>   
>>>>>> On Thu, 11 May 2006, "martinko" == martinko wrote:
>>>>>>             
>
>   martinko> Fernan Aguero wrote:
>
>   +> +----[ martinko <martinkov@pobox.sk> (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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44631677.7040409>