summaryrefslogtreecommitdiff
path: root/pkgtools/pkglint
diff options
context:
space:
mode:
authorrillig <rillig>2006-04-11 17:44:29 +0000
committerrillig <rillig>2006-04-11 17:44:29 +0000
commit292f2c5989f6ab2ef51f4551ab78b9ca8bc3dbea (patch)
treed38a7b710217c2871c6aca9736e28c7c6c122dfb /pkgtools/pkglint
parent8a81d5bb4477633380504a57be53368949d6659d (diff)
downloadpkgsrc-292f2c5989f6ab2ef51f4551ab78b9ca8bc3dbea.tar.gz
Don't warn about the misnamed variables *_TEMPLATE, which are actually
lists of files. Don't warn about files named "manual-*" in the patches directory.
Diffstat (limited to 'pkgtools/pkglint')
-rw-r--r--pkgtools/pkglint/files/pkglint.pl6
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgtools/pkglint/files/pkglint.pl b/pkgtools/pkglint/files/pkglint.pl
index 388aa8c2424..eb0c48e40f8 100644
--- a/pkgtools/pkglint/files/pkglint.pl
+++ b/pkgtools/pkglint/files/pkglint.pl
@@ -1,5 +1,5 @@
#! @PERL@
-# $NetBSD: pkglint.pl,v 1.549 2006/03/12 16:55:51 rillig Exp $
+# $NetBSD: pkglint.pl,v 1.550 2006/04/11 17:44:29 rillig Exp $
#
# pkglint - static analyzer and checker for pkgsrc packages
@@ -1484,7 +1484,9 @@ sub get_regex_plurals() {
);
my @plurals_reluctantly_accepted = qw(
CRYPTO
+ DEINSTALL_TEMPLATE
FIX_RPATH
+ INSTALL_TEMPLATE
PYTHON_VERSIONS_INCOMPATIBLE
REPLACE_INTERPRETER
REPLACE_PERL
@@ -4781,7 +4783,7 @@ sub checkfile($) {
} elsif ($basename =~ qr"^MESSAGE") {
$opt_check_MESSAGE and checkfile_MESSAGE($fname);
- } elsif ($basename =~ qr"^patch-[A-Za-z0-9]*$") {
+ } elsif ($basename =~ qr"^patch-[A-Za-z0-9]*$" || $fname =~ qr"(?:^|/)patches/manual-[^/]*$") {
$opt_check_patches and checkfile_patch($fname);
} elsif ($fname =~ qr"(?:^|/)patches/[^/]*$") {