Subject: Re: Please review: nbX => PKGREVISION
To: Frederick Bruckman <>
From: Hubert Feyrer <>
List: tech-pkg
Date: 11/27/2001 12:54:38
On Mon, 26 Nov 2001, Frederick Bruckman wrote:
> 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})? 

That seems to work, yes:

	DISTNAME=       pkgrevision_1.0
	PKGNAME=        pkgrevision-1.0
	BAR=            ${PKGNAME}
	        @echo BAR=${BAR}

This prints the right value on "do-configure".


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

That's exactly what I wanted to avoid.

 - Hubert

Want to get a clue on IPv6 but don't know where to start? Try this:
* Basics ->
* Setup  -> 
Of course with your #1 IPv6 ready operating system ->