pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/pkgtools/pkglint/files The GNU tools usually provide r...
details: https://anonhg.NetBSD.org/pkgsrc/rev/0e63ef76b8ba
branches: trunk
changeset: 567529:0e63ef76b8ba
user: rillig <rillig%pkgsrc.org@localhost>
date: Fri Nov 20 12:02:33 2009 +0000
description:
The GNU tools usually provide replacements for their counterparts whose
name doesn't start with a "g". Fixes PR 40261.
diffstat:
pkgtools/pkglint/files/pkglint.pl | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (19 lines):
diff -r b931cf657402 -r 0e63ef76b8ba pkgtools/pkglint/files/pkglint.pl
--- a/pkgtools/pkglint/files/pkglint.pl Fri Nov 20 11:56:08 2009 +0000
+++ b/pkgtools/pkglint/files/pkglint.pl Fri Nov 20 12:02:33 2009 +0000
@@ -1,5 +1,5 @@
#! @PERL@
-# $NetBSD: pkglint.pl,v 1.820 2009/09/10 21:22:56 joerg Exp $
+# $NetBSD: pkglint.pl,v 1.821 2009/11/20 12:02:33 rillig Exp $
#
# pkglint - static analyzer and checker for pkgsrc packages
@@ -4473,7 +4473,7 @@
"package via pkg_add.");
} elsif (exists(get_tool_names()->{$shellword})) {
- if (!exists($mkctx_tools->{$shellword})) {
+ if (!exists($mkctx_tools->{$shellword}) && !exists($mkctx_tools->{"g$shellword"})) {
$line->log_warning("The \"${shellword}\" tool is used but not added to USE_TOOLS.");
}
Home |
Main Index |
Thread Index |
Old Index