Subject: CVS commit: pkgsrc/pkgtools/pkglint
To: None <pkgsrc-changes@netbsd.org>
From: Andrew Brown <atatat@netbsd.org>
List: pkgsrc-changes
Date: 01/03/2003 00:17:48
Module Name:	pkgsrc
Committed By:	atatat
Date:		Thu Jan  2 22:17:47 UTC 2003

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

Log Message:
In the case that we really can't determine the PKGNAME properly, just
punt and invoke "make show-vars VARNAMES=PKGNAME" and get make to tell
us.

This addresses the issue of:

Cannot extract digest-UNDEFINED version (/usr/pkgsrc/pkgtools/digest/Makefile)
Cannot extract pkg_install-UNDEFINED version (/usr/pkgsrc/pkgtools/pkg_install/Makefile)
Unknown package: 'digest' version 20010807
Unknown package: 'pkg_install' version 20021123

Patch reviewed by the wiz.


To generate a diff of this commit:
cvs rdiff -r1.144 -r1.145 pkgsrc/pkgtools/pkglint/Makefile
cvs rdiff -r1.72 -r1.73 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.