diff options
author | tron <tron@pkgsrc.org> | 2011-08-01 11:58:14 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2011-08-01 11:58:14 +0000 |
commit | 1ddd0eee58033635c27f9f52894a14e0fae69712 (patch) | |
tree | 5e296de21a23a777b6c646f894f5663c080ddd62 /pkgtools/pkglint | |
parent | 6662ad406fd18adeb8cb559a9b232880729298e1 (diff) | |
download | pkgsrc-1ddd0eee58033635c27f9f52894a14e0fae69712.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/pkglint')
-rw-r--r-- | pkgtools/pkglint/Makefile | 4 | ||||
-rw-r--r-- | pkgtools/pkglint/files/pkglint.pl | 4 |
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}."); } |