summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorrillig <rillig>2007-05-13 21:43:26 +0000
committerrillig <rillig>2007-05-13 21:43:26 +0000
commitbe236454b555117a1b85a95b459305540996da99 (patch)
treeb4ea8d32b05a5000d4633d0eee27003ee5a2b272 /pkgtools
parent04ab5c2716d39cafc850c93e23acdc2b51794fc0 (diff)
downloadpkgsrc-be236454b555117a1b85a95b459305540996da99.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.pl10
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.");
}
}