Date: Sat, 2 Jan 2010 16:32:05 -0500 From: Wesley Shields <wxs@FreeBSD.org> To: freebsd-ports@freebsd.org Subject: Re: portmaster: printing messages that do not come from pkg-message files Message-ID: <20100102213205.GB62713@atarininja.org> In-Reply-To: <20100102211138.GA399@comcast.net> References: <201001021701.o02H19VE093008@anthesphoria.net> <fee671621001020914g45aead7ay3f6aec71cbe7e70f@mail.gmail.com> <20100102211138.GA399@comcast.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jan 02, 2010 at 01:11:38PM -0800, Charlie Kester wrote: > On Sat 02 Jan 2010 at 09:14:11 PST Julien Laffaye wrote: > >2010/1/2 Nikola Le??i?? <nikola.lecic@anthesphoria.net>: > >> Hello, > >> > >> portmaster's feature to print collected pkg-message files after > >> successful installation is very useful. However, there are many ports > >> that echo messages from inside Makefile, usually in post-install phase > >> (but not exclusively there). > >> > >> A simple question: would it be possible (or better, would it be > >> desirable) to collect that text as well and to include it in the final > >> output in the same way it is done with pkg-messages? > >> > > > >Hi, > > > >It's better to correct these ports to make them use pkg-message, so it > >will be printed by portmaster *and* pkg_add (dont forget packages !) > > Sometimes whether a message is echoed depends on a knob. The porter's > handbook includes examples of this. Is there a way to get the same > effect with pkg-messages? See devel/git for an example of displaying pkg-message depending upon a knob. I'm sure with a bit of creativity you could display only a portion of pkg-message depending upon a knob. -- WXS
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100102213205.GB62713>