portmaster: printing messages that do not come from pkg-message files

Doug Barton dougb at FreeBSD.org
Sat Jan 2 21:41:26 UTC 2010

Nikola Lečić wrote:
> 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?

In a word, no. :)  Random messages emitted by the port at random
points in the process are evil (well, usually they are evil), and
should not be encouraged. Messages related to build choices should be
handled by OPTIONS, information that the user needs after the port is
installed should be handled in the pkg-message. Portmaster has support
for both of those.

If you have something specific in mind, or specific examples of a port
that emits something meaningful I'll be glad to take another look, but
as a general principle my opinion is that using the established
mechanisms is the better route to take.


PS, I'm glad you find the pkg-message feature useful. :)


	Improve the effectiveness of your Internet presence with
	a domain name makeover!    http://SupersetSolutions.com/

	Computers are useless. They can only give you answers.
			-- Pablo Picasso

More information about the freebsd-ports mailing list