diff options
author | rillig <rillig@pkgsrc.org> | 2009-11-20 12:02:33 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2009-11-20 12:02:33 +0000 |
commit | 5c31193d24a47a3559560b6cd7863c2962507207 (patch) | |
tree | 95264b14d9ca6665116596682c56a984bde1286a /pkgtools | |
parent | fb587bebed5791402c2a0be069cb2ee452630dc8 (diff) | |
download | pkgsrc-5c31193d24a47a3559560b6cd7863c2962507207.tar.gz |
The GNU tools usually provide replacements for their counterparts whose
name doesn't start with a "g". Fixes PR 40261.
Diffstat (limited to 'pkgtools')
-rw-r--r-- | pkgtools/pkglint/files/pkglint.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgtools/pkglint/files/pkglint.pl b/pkgtools/pkglint/files/pkglint.pl index 7840eedd20a..c6425e69568 100644 --- a/pkgtools/pkglint/files/pkglint.pl +++ b/pkgtools/pkglint/files/pkglint.pl @@ -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 @@ sub checkline_mk_shelltext($$) { "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."); } |