From 5b096fc59695545c2add1302592a7584ad49c456 Mon Sep 17 00:00:00 2001 From: wiz Date: Tue, 16 Aug 2011 23:13:34 +0000 Subject: Avoid use of qw as parentheses. Silences a warning with perl-5.14. Bump version to 4.103. --- pkgtools/pkglint/Makefile | 4 ++-- pkgtools/pkglint/files/pkglint.pl | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'pkgtools') diff --git a/pkgtools/pkglint/Makefile b/pkgtools/pkglint/Makefile index 8fc7d9404b3..0cf455c9ae0 100644 --- a/pkgtools/pkglint/Makefile +++ b/pkgtools/pkglint/Makefile @@ -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 diff --git a/pkgtools/pkglint/files/pkglint.pl b/pkgtools/pkglint/files/pkglint.pl index 59439194ab8..ddf59d6c753 100644 --- a/pkgtools/pkglint/files/pkglint.pl +++ b/pkgtools/pkglint/files/pkglint.pl @@ -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); -- cgit v1.2.3