summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2011-08-01 11:58:14 +0000
committertron <tron@pkgsrc.org>2011-08-01 11:58:14 +0000
commitdf008f10807b5c3339fcfe207a32e24cf9a1f632 (patch)
tree5e296de21a23a777b6c646f894f5663c080ddd62 /pkgtools
parent2dec56cc47ab264282428342d4d121bec84ecc85 (diff)
downloadpkgsrc-df008f10807b5c3339fcfe207a32e24cf9a1f632.tar.gz
Update "pkglint" package to version 4.102. Changes since version 4.101:
Allow "@" as a character for directories in "${WRKSRC}". This stop bogus warnings for the "phpmyadmin" package which contains directory names like "locale/sr@latin/LC_MESSAGES". Change suggested by Thomas Klausner in private e-mail.
Diffstat (limited to 'pkgtools')
-rw-r--r--pkgtools/pkglint/Makefile4
-rw-r--r--pkgtools/pkglint/files/pkglint.pl4
2 files changed, 4 insertions, 4 deletions
diff --git a/pkgtools/pkglint/Makefile b/pkgtools/pkglint/Makefile
index f56f1a8937a..8fc7d9404b3 100644
--- a/pkgtools/pkglint/Makefile
+++ b/pkgtools/pkglint/Makefile
@@ -1,10 +1,10 @@
-# $NetBSD: Makefile,v 1.392 2011/06/18 10:45:32 wiz Exp $
+# $NetBSD: Makefile,v 1.393 2011/08/01 11:58:14 tron Exp $
#
# Note: if you update the version number, please have a look at the
# changes between the CVS tag "pkglint_current" and HEAD.
# After updating, please re-set the CVS tag to HEAD.
-DISTNAME= pkglint-4.101
+DISTNAME= pkglint-4.102
CATEGORIES= pkgtools
MASTER_SITES= # none
DISTFILES= # none
diff --git a/pkgtools/pkglint/files/pkglint.pl b/pkgtools/pkglint/files/pkglint.pl
index 2f1ced9a8a7..59439194ab8 100644
--- a/pkgtools/pkglint/files/pkglint.pl
+++ b/pkgtools/pkglint/files/pkglint.pl
@@ -1,5 +1,5 @@
#! @PERL@
-# $NetBSD: pkglint.pl,v 1.827 2011/05/26 20:31:47 wiz Exp $
+# $NetBSD: pkglint.pl,v 1.828 2011/08/01 11:58:14 tron Exp $
#
# pkglint - static analyzer and checker for pkgsrc packages
@@ -5510,7 +5510,7 @@ sub checkline_mk_vartype_basic($$$$$$$$) {
} elsif ($value ne "" && $value_novar eq "") {
# The value of another variable
- } elsif ($value_novar !~ m"^(?:\.|[0-9A-Za-z_][-0-9A-Za-z._/+]*)$") {
+ } elsif ($value_novar !~ m"^(?:\.|[0-9A-Za-z_\@][-0-9A-Za-z_\@./+]*)$") {
$line->log_warning("\"${value}\" is not a valid subdirectory of \${WRKSRC}.");
}