summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2007-01-23 19:21:56 +0000
committerrillig <rillig@pkgsrc.org>2007-01-23 19:21:56 +0000
commitcc7fbeed94bfb8ee00d8039a9b545ebbd312d345 (patch)
tree6b213869c1a6aabc712edda39ca399511e312631 /pkgtools
parent36edaf71650d4d8d2ca3d188c2b80cf77c3439a0 (diff)
downloadpkgsrc-cc7fbeed94bfb8ee00d8039a9b545ebbd312d345.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.");