Subject: Re: Please review: nbX => PKGREVISION
To: Hubert Feyrer <hubert.feyrer@informatik.fh-regensburg.de>
From: Frederick Bruckman <fredb@immanent.net>
List: tech-pkg
Date: 11/26/2001 22:50:11
On Tue, 27 Nov 2001, Hubert Feyrer wrote:

> On subsequent changes, only PKGREVISION needs to be bumped, no more risk
> of getting DISTNAME changed accidentally.

I like the idea. I've tripped on that myself.

Changing PKGNAME in place with ":=" looks sneaky. I guess you do that
because "=" won't let you put the variable you're changing on the rhs.
Does that do the right thing in the places where ${PKGNAME} is
referenced _before_ you change it (e.g., to compute ${PKGVERSION})? If
not, the foolproof way would be to make another variable for the whole
pkgname, and change most (all) of the instances of ${PKGNAME} to refer
to the new variable.

Frederick