diff options
author | rillig <rillig@pkgsrc.org> | 2007-05-13 21:43:26 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2007-05-13 21:43:26 +0000 |
commit | f132950ac59a57fed90c18d22da56198511f80fe (patch) | |
tree | b4ea8d32b05a5000d4633d0eee27003ee5a2b272 /pkgtools | |
parent | 6508f81fe1136aa1b43e94dcb06baf84476a2c24 (diff) | |
download | pkgsrc-f132950ac59a57fed90c18d22da56198511f80fe.tar.gz |
Added another helpful sentence to the explanation of the "tool vs.
${TOOL}" note.
Diffstat (limited to 'pkgtools')
-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."); } } |