pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/pkgtools/pkglint/files Clarified the explanation of th...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a79b5e8d1468
branches:  trunk
changeset: 524338:a79b5e8d1468
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Tue Jan 23 19:21:56 2007 +0000

description:
Clarified the explanation of the warning regarding the load-time
evaluation of variables.

diffstat:

 pkgtools/pkglint/files/pkglint.pl |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (26 lines):

diff -r 9caf1e029cd9 -r a79b5e8d1468 pkgtools/pkglint/files/pkglint.pl
--- a/pkgtools/pkglint/files/pkglint.pl Tue Jan 23 18:23:08 2007 +0000
+++ b/pkgtools/pkglint/files/pkglint.pl Tue Jan 23 19:21:56 2007 +0000
@@ -1,5 +1,5 @@
 #! @PERL@
-# $NetBSD: pkglint.pl,v 1.693 2007/01/15 08:45:59 rillig Exp $
+# $NetBSD: pkglint.pl,v 1.694 2007/01/23 19:21:56 rillig Exp $
 #
 
 # pkglint - static analyzer and checker for pkgsrc packages
@@ -3940,11 +3940,11 @@
                                "incrementally. Therefore it is generally unsafe to rely on their value",
                                "until it is clear that it will never change again. This point is",
                                "reached when the whole package Makefile is loaded and execution of the",
-                               "shell commands starts.",
+                               "shell commands starts, in some cases earlier.",
                                "",
-                               "Additionally, each \$\$ is replaced with a single \$, so variables",
-                               "that have references to shell variables or regular expressions are",
-                               "modified in a subtle way.");
+                               "Additionally, when using the \":=\" operator, each \$\$ is replaced",
+                               "with a single \$, so variables that have references to shell variables",
+                               "or regular expressions are modified in a subtle way.");
                }
                if ($is_load_time && $is_indirect) {
                        $line->log_warning("${varname} should not be evaluated indirectly at load time.");



Home | Main Index | Thread Index | Old Index