Subject: Re: Use of ${PKGNAME} can lead to confusion
To: Julio M. Merino Vidal <>
From: Hubert Feyrer <>
List: tech-pkg
Date: 10/09/2005 20:55:52
On Sun, 9 Oct 2005, Julio M. Merino Vidal wrote:
> The "problem" is that the current PKGNAME is difficult to understand.
> You can define it to a specific value in your package and pkgsrc will
> internally change it to append the revision number.
> As Roland said, if you have something like:
> DISTNAME= foo_1.0
> What's the value of PKGNAME?  foo-1.0?  No!  It's foo-1.0nb1.
> I.e., it's wired that you have to use PKGNAME_NOREV to get the exact
> value you explicitly set to PKGNAME.  It should be the other way around
> (leave PKGNAME as is, and have a variable that is set by pkgsrc to
> whatever it needs).
> Or at least, that's what I understood :-)

Well, maybe then the effect(s) of PKGREVISION should  be implemented 
different. I agree that the situation you describe is not obvious.

  - Hubert