Subject: Re: OPSYS specific MESSAGEs
To: Jeremy C. Reed <reed@reedmedia.net>
From: grant beattie <grant@netbsd.org>
List: tech-pkg
Date: 03/27/2003 11:58:09
On Wed, Mar 26, 2003 at 09:08:54AM -0800, Jeremy C. Reed wrote:

> I believe it would be useful to have MESSAGEs (or +DISPLAY) to be custom
> per operating system. This could be similar to the PLIST's common,
> ${OPSYS} and .common_end functionality.

[...]

> It could be more fine-tuned also; for example, don't have it report
> messages specific to old NetBSD on new NetBSD systems. (Or maybe, better
> yet, just clean up the MESSAGEs that have references to old NetBSD
> versions.)

It doesn't have the last part of this, but you can use MESSAGE.common
and MESSAGE.${OPSYS}, etc. just as you can with PLISTs - circa line
492 in bsd.pkg.mk.

g.