Subject: CVS commit: pkgsrc/pkgtools/pkglint/files
To: None <pkgsrc-changes@NetBSD.org>
From: Roland Illig <rillig@netbsd.org>
List: pkgsrc-changes
Date: 08/30/2006 05:41:19
Module Name:	pkgsrc
Committed By:	rillig
Date:		Wed Aug 30 05:41:19 UTC 2006

Modified Files:
	pkgsrc/pkgtools/pkglint/files: pkglint.pl

Log Message:
The *.mk files need two passes to make the BUILD_DEFS check work
reasonably well. In the first pass, all variables that are added to
BUILD_DEFS are collected, and in the second pass it is checked whether
any remaining user-defined variables are used but have not been added to
BUILD_DEFS. This way, it does not matter in which order the variables
appear in the files.


To generate a diff of this commit:
cvs rdiff -r1.670 -r1.671 pkgsrc/pkgtools/pkglint/files/pkglint.pl

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.