Subject: Re: Please review: nbX => PKGREVISION
To: Hubert Feyrer <>
From: Frederick Bruckman <>
List: tech-pkg
Date: 11/27/2001 06:08:07
On Tue, 27 Nov 2001, Hubert Feyrer wrote:

> On Mon, 26 Nov 2001, Frederick Bruckman wrote:
> > Does that do the right thing in the places where ${PKGNAME} is
> > referenced _before_ you change it (e.g., to compute ${PKGVERSION})?
> That seems to work, yes:


> > 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.

I should have made clear, I meant, everywhere in "pkgsrc/mk", not
everywhere in "pkgsrc". Still...

> That's exactly what I wanted to avoid.

I can imagine! I see ":=" being used in elsewhere for
similar reasons, and that doesn't seem to cause any problems, so I
guess it's OK, then.