diff options
author | rillig <rillig> | 2005-09-28 14:12:38 +0000 |
---|---|---|
committer | rillig <rillig> | 2005-09-28 14:12:38 +0000 |
commit | 48e8b25f3e292059d8a378d50692c6d654f07f23 (patch) | |
tree | 2acc8ef6e1ec955692047f1a7ecf036b7976fbef | |
parent | 9926b13aaedf97f20d73048d7eda4eba46aff8ad (diff) | |
download | pkgsrc-48e8b25f3e292059d8a378d50692c6d654f07f23.tar.gz |
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.
-rw-r--r-- | doc/CHANGES | 3 | ||||
-rw-r--r-- | pkgtools/pkglint/Makefile | 4 | ||||
-rw-r--r-- | pkgtools/pkglint/files/makevars.map | 3 | ||||
-rw-r--r-- | pkgtools/pkglint/files/pkglint.pl | 6 |
4 files changed, 10 insertions, 6 deletions
diff --git a/doc/CHANGES b/doc/CHANGES index d7fbce8dc7e..b4e986f8391 100644 --- a/doc/CHANGES +++ b/doc/CHANGES @@ -1,4 +1,4 @@ -$NetBSD: CHANGES,v 1.11239 2005/09/28 09:52:52 agc Exp $ +$NetBSD: CHANGES,v 1.11240 2005/09/28 14:13:14 rillig Exp $ Changes to the packages collection and infrastructure in 2005: @@ -4162,3 +4162,4 @@ Changes to the packages collection and infrastructure in 2005: Updated editors/vile to 9.5 [agc 2005-09-27] Updated pkgtools/pkglint to 4.23 [rillig 2005-09-28] Updated editors/xvile to 9.5 [agc 2005-09-28] + Updated pkgtools/pkglint to 4.23.1 [rillig 2005-09-28] 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) { |