diff options
author | rillig <rillig> | 2007-05-13 21:43:26 +0000 |
---|---|---|
committer | rillig <rillig> | 2007-05-13 21:43:26 +0000 |
commit | 3ae87d4ccb568aaf35934a1a1b06fe1f7bf76716 (patch) | |
tree | b4ea8d32b05a5000d4633d0eee27003ee5a2b272 | |
parent | b3af1d796f447b905ec08ba6b40efc9699680d6e (diff) | |
download | pkgsrc-3ae87d4ccb568aaf35934a1a1b06fe1f7bf76716.tar.gz |
Added another helpful sentence to the explanation of the "tool vs.
${TOOL}" note.
-rw-r--r-- | pkgtools/pkglint/files/pkglint.pl | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/pkgtools/pkglint/files/pkglint.pl b/pkgtools/pkglint/files/pkglint.pl index 1bbca0f797b..4f39b0c53ec 100644 --- a/pkgtools/pkglint/files/pkglint.pl +++ b/pkgtools/pkglint/files/pkglint.pl @@ -1,5 +1,5 @@ #! @PERL@ -# $NetBSD: pkglint.pl,v 1.707 2007/05/01 11:16:22 rillig Exp $ +# $NetBSD: pkglint.pl,v 1.708 2007/05/13 21:43:26 rillig Exp $ # # pkglint - static analyzer and checker for pkgsrc packages @@ -4459,8 +4459,12 @@ sub checkline_mk_shelltext($$) { if (!exists(get_required_vartool_varnames()->{$vartool})) { $opt_warn_extra and $line->log_note("You can write \"${plain_tool}\" instead of \"${shellword}\"."); $opt_warn_extra and $line->explain_note( - "The wrapper framework from pkgsrc takes care that a sufficiently", - "capable implementation of that tool will be selected."); +"The wrapper framework from pkgsrc takes care that a sufficiently", +"capable implementation of that tool will be selected.", +"", +"Calling the commands by their plain name instead of the macros is", +"only available in the {pre,do,post}-* targets. For all other targets,", +"you should still use the macros."); } } |