Subject: Re: Ordering of variables in Makefile
To: Roland Illig <rillig@NetBSD.org>
From: grant beattie <grant@NetBSD.org>
List: tech-pkg
Date: 11/07/2005 19:20:44
On Mon, Nov 07, 2005 at 02:22:33AM +0100, Roland Illig wrote:

> See for example the misc/openoffice-bin package. It starts with defining
> PKGNAME instead of DISTNAME, as DISTNAME highly depends on the
> architecture. Should such a variable really be the one that is mandatory
> for each package and mentioned at the top? I still prefer PKGNAME.

it seems to me that more often than not, PKGNAME is derived from
DISTNAME, not the other way around, so defining DISTNAME seems to be
the right thing to do...

unless I misunderstand something?

regardless, this is excellent, I'm all for consistency in pkgsrc.

grant.