Subject: CVS commit: pkgsrc/pkgtools/pkglint
To: None <pkgsrc-changes@netbsd.org>
From: Andrew Brown <atatat@netbsd.org>
List: pkgsrc-changes
Date: 03/27/2003 07:16:13
Module Name:	pkgsrc
Committed By:	atatat
Date:		Thu Mar 27 05:16:12 UTC 2003

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

Log Message:
Fill in default values for DESTDIR (empty), LOCALBASE ("/usr/pkg"),
and X11BASE ("/usr/X11R6"), which, while they might not be right for
*every* system, are certainly more right than UNDEFINED.

Give lang/python/pyversion.mk a little help by stuffing the material
from PYTHON_VERSIONS_ACCEPTED into the two places it expects it (since
lintpkgsrc doesn't do .for loops), add support for the ${FOO:S/foo/&/}
construction, and tweak the .if handling for && and || bits.

This has the following effect on the -g output (as a simple measure):

	% grep -c UNDEFINED before after
	before:58
	after:1

Jump to 3.47.


To generate a diff of this commit:
cvs rdiff -r1.152 -r1.153 pkgsrc/pkgtools/pkglint/Makefile
cvs rdiff -r1.75 -r1.76 pkgsrc/pkgtools/pkglint/files/lintpkgsrc.pl

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