summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorrillig <rillig>2007-01-23 19:21:56 +0000
committerrillig <rillig>2007-01-23 19:21:56 +0000
commitee1f666997eca7d31c4b05ca9da29f8e769ccadc (patch)
tree6b213869c1a6aabc712edda39ca399511e312631 /pkgtools
parent44ae1de85c4c37568f96ea23cfa3de67fc82fa81 (diff)
downloadpkgsrc-ee1f666997eca7d31c4b05ca9da29f8e769ccadc.tar.gz
Clarified the explanation of the warning regarding the load-time
evaluation of variables.
Diffstat (limited to 'pkgtools')
-rw-r--r--pkgtools/pkglint/files/pkglint.pl10
1 files changed, 5 insertions, 5 deletions
diff --git a/pkgtools/pkglint/files/pkglint.pl b/pkgtools/pkglint/files/pkglint.pl
index 2d84a0dbdfe..848576296b5 100644
--- a/pkgtools/pkglint/files/pkglint.pl
+++ b/pkgtools/pkglint/files/pkglint.pl
@@ -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 @@ sub checkline_mk_varuse($$$$) {
"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.");