pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/pkgtools/pkglint/files Added another helpful sentence ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/94bae5a39876
branches: trunk
changeset: 528751:94bae5a39876
user: rillig <rillig%pkgsrc.org@localhost>
date: Sun May 13 21:43:26 2007 +0000
description:
Added another helpful sentence to the explanation of the "tool vs.
${TOOL}" note.
diffstat:
pkgtools/pkglint/files/pkglint.pl | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
diffs (25 lines):
diff -r 01491c4e4873 -r 94bae5a39876 pkgtools/pkglint/files/pkglint.pl
--- a/pkgtools/pkglint/files/pkglint.pl Sun May 13 21:38:27 2007 +0000
+++ b/pkgtools/pkglint/files/pkglint.pl Sun May 13 21:43:26 2007 +0000
@@ -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 @@
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.");
}
}
Home |
Main Index |
Thread Index |
Old Index