Avoid use of qw as parentheses. Silences a warning with perl-5.14.

Bump version to 4.103.
This commit is contained in:
wiz 2011-08-16 23:13:34 +00:00
parent e5c907ee01
commit 1d58c2695d
2 changed files with 5 additions and 5 deletions

View file

@ -1,10 +1,10 @@
# $NetBSD: Makefile,v 1.393 2011/08/01 11:58:14 tron Exp $
# $NetBSD: Makefile,v 1.394 2011/08/16 23:13:34 wiz 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.102
DISTNAME= pkglint-4.103
CATEGORIES= pkgtools
MASTER_SITES= # none
DISTFILES= # none

View file

@ -1,5 +1,5 @@
#! @PERL@
# $NetBSD: pkglint.pl,v 1.828 2011/08/01 11:58:14 tron Exp $
# $NetBSD: pkglint.pl,v 1.829 2011/08/16 23:13:34 wiz Exp $
#
# pkglint - static analyzer and checker for pkgsrc packages
@ -2299,11 +2299,11 @@ sub load_shared_dirs() {
my $varname_to_dirs = {};
my $dir_to_id = {};
foreach my $pkg qw(
foreach my $pkg (qw(
misc/gnome-dirs misc/gnome1-dirs misc/gnome2-dirs
misc/theme-dirs
misc/xdg-dirs misc/xdg-x11-dirs
print/texmf-dirs) {
print/texmf-dirs)) {
$opt_debug_trace and log_debug(NO_FILE, NO_LINES, "pkg=$pkg");
my $dirs_mk = load_lines("$cwd_pkgsrcdir/$pkg/dirs.mk", true);