summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2005-09-28 14:12:38 +0000
committerrillig <rillig@pkgsrc.org>2005-09-28 14:12:38 +0000
commitef92691af74462f8bb3943b3f2a04d9636bbd4b4 (patch)
tree2acc8ef6e1ec955692047f1a7ecf036b7976fbef /pkgtools
parentef0170fa4813e277535361cba762e109cc917263 (diff)
downloadpkgsrc-ef92691af74462f8bb3943b3f2a04d9636bbd4b4.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.
Diffstat (limited to 'pkgtools')
-rw-r--r--pkgtools/pkglint/Makefile4
-rw-r--r--pkgtools/pkglint/files/makevars.map3
-rw-r--r--pkgtools/pkglint/files/pkglint.pl6
3 files changed, 8 insertions, 5 deletions
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) {