diff options
author | wiz <wiz@pkgsrc.org> | 2012-07-09 17:37:30 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2012-07-09 17:37:30 +0000 |
commit | 201251a852913b705d608b2ced677d8bea9ac01c (patch) | |
tree | 32d3a2e5324fe5508c20df67eefc6c0308c78977 /pkgtools/pkglint | |
parent | e3dae69efa4c5e308476f037829dab3bec25dc2e (diff) | |
download | pkgsrc-201251a852913b705d608b2ced677d8bea9ac01c.tar.gz |
Mention -e when warnings have been found and it wasn't specified.
Update for games handling changes.
Diffstat (limited to 'pkgtools/pkglint')
-rw-r--r-- | pkgtools/pkglint/files/pkglint.pl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgtools/pkglint/files/pkglint.pl b/pkgtools/pkglint/files/pkglint.pl index 58f24758889..80a9828de27 100644 --- a/pkgtools/pkglint/files/pkglint.pl +++ b/pkgtools/pkglint/files/pkglint.pl @@ -1,5 +1,5 @@ #! @PERL@ -# $NetBSD: pkglint.pl,v 1.833 2012/07/06 09:29:01 obache Exp $ +# $NetBSD: pkglint.pl,v 1.834 2012/07/09 17:37:30 wiz Exp $ # # pkglint - static analyzer and checker for pkgsrc packages @@ -248,7 +248,7 @@ sub print_summary_and_exit($) { if (!$quiet) { if ($errors != 0 || $warnings != 0) { - print("$errors errors and $warnings warnings found.\n"); + print("$errors errors and $warnings warnings found." . ($explain_flag ? "" : " (Use -e for more details.)") . "\n"); } else { print "looks fine.\n"; } @@ -2042,7 +2042,7 @@ sub load_tool_names() { # Some user-defined variables do not influence the binary # package at all and therefore do not have to be added to # BUILD_DEFS. - foreach my $bdvar (qw(DISTDIR FETCH_CMD FETCH_OUTPUT_ARGS GAMEOWN GAMEGRP GAMEDIRMODE)) { + foreach my $bdvar (qw(DISTDIR FETCH_CMD FETCH_OUTPUT_ARGS GAMES_USER GAMES_GROUP GAMEDATAMODE GAMEOWN GAMEGRP GAMEDIRMODE)) { $system_build_defs->{$bdvar} = true; } #$system_build_defs->{"PACKAGES"} = true; |