From 99e4751e1fe2d4bc2e51b0e8f9435a1ca41ee511 Mon Sep 17 00:00:00 2001 From: rillig Date: Wed, 28 Sep 2005 14:12:38 +0000 Subject: Updated pkglint to 4.23.1. BUILD_USES_MSGFMT should always be set to YES/yes or left undefined. When checking for direct use of tools, respect shell commands. --- pkgtools/pkglint/Makefile | 4 ++-- pkgtools/pkglint/files/makevars.map | 3 ++- pkgtools/pkglint/files/pkglint.pl | 6 ++++-- 3 files changed, 8 insertions(+), 5 deletions(-) (limited to 'pkgtools') diff --git a/pkgtools/pkglint/Makefile b/pkgtools/pkglint/Makefile index 4a91be4e0e4..79d5a1f5d57 100644 --- a/pkgtools/pkglint/Makefile +++ b/pkgtools/pkglint/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.256 2005/09/28 09:44:42 rillig Exp $ +# $NetBSD: Makefile,v 1.257 2005/09/28 14:12:38 rillig Exp $ # -DISTNAME= pkglint-4.23 +DISTNAME= pkglint-4.23.1 CATEGORIES= pkgtools devel MASTER_SITES= # empty DISTFILES= # empty diff --git a/pkgtools/pkglint/files/makevars.map b/pkgtools/pkglint/files/makevars.map index 329fe171d8e..0acb4b77918 100644 --- a/pkgtools/pkglint/files/makevars.map +++ b/pkgtools/pkglint/files/makevars.map @@ -1,4 +1,4 @@ -# $NetBSD: makevars.map,v 1.13 2005/09/27 18:58:56 rillig Exp $ +# $NetBSD: makevars.map,v 1.14 2005/09/28 14:12:38 rillig Exp $ # # This file tries to guess the type of some variables, according to their @@ -56,3 +56,4 @@ NO_MTREE Yes_Or_Undefined PKG_PRESERVE Yes_Or_Undefined NO_PKGTOOLS_REQD_CHECK Yes_Or_Undefined NO_PKG_REGISTER Yes_Or_Undefined +BUILD_USES_MSGFMT Yes_Or_Undefined diff --git a/pkgtools/pkglint/files/pkglint.pl b/pkgtools/pkglint/files/pkglint.pl index 5a6cedf3a02..84cc4130899 100644 --- a/pkgtools/pkglint/files/pkglint.pl +++ b/pkgtools/pkglint/files/pkglint.pl @@ -11,7 +11,7 @@ # Freely redistributable. Absolutely no warranty. # # From Id: portlint.pl,v 1.64 1998/02/28 02:34:05 itojun Exp -# $NetBSD: pkglint.pl,v 1.290 2005/09/28 09:44:42 rillig Exp $ +# $NetBSD: pkglint.pl,v 1.291 2005/09/28 14:12:38 rillig Exp $ # # This version contains lots of changes necessary for NetBSD packages # done by: @@ -1392,7 +1392,9 @@ sub checklines_direct_tools($) { qr"for file in", qr"(?:\./Build|\$\{JAM_COMMAND\})\s+(?:install|test)", qr"\"[^\"]*${regex_tools}[^\"]*\"", - qr"\'[^\']*${regex_tools}[^\']*\'"); + qr"\'[^\']*${regex_tools}[^\']*\'", + qr"#.*", + ); my %toolvar = (); foreach my $tool (@tools) { -- cgit v1.2.3