Subject: Re: new feature for bmake: read-only variables
To: None <tech-pkg@netbsd.org>
From: Joerg Sonnenberger <joerg@britannica.bec.de>
List: tech-pkg
Date: 08/25/2005 13:27:02
On Thu, Aug 25, 2005 at 12:51:36PM +0200, Roland Illig wrote:
> This patch adds a new feature to bmake. Variables can be marked 
> read-only, so there is no chance of overwriting them.
> 
> PKGNAME=	mypackage-1.4
> .readonly PKGNAME

There was a consensus between DragonFly and FreeBSD to not add new
directives, but use targets instead. E.g. this is better added as
.READONLY: PKGNAME

This is the additional benefit of allowing old makes to still work.

With regarding to cleaning up the parser, talk with Max Okumoto
:-)

Joerg