summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorrillig <rillig>2006-07-04 09:29:54 +0000
committerrillig <rillig>2006-07-04 09:29:54 +0000
commit1a6fc9d0064af55876444de98c7cb667f49ac4ab (patch)
tree7bb217ad5187e99b8c5c0ed0ea0d31761a8217c0 /pkgtools
parent8a6a83c6ea8864c39e756bc06e4ff74e0953a023 (diff)
downloadpkgsrc-1a6fc9d0064af55876444de98c7cb667f49ac4ab.tar.gz
Some minor refinements.
Diffstat (limited to 'pkgtools')
-rw-r--r--pkgtools/pkglint/files/pkglint.pl7
1 files changed, 5 insertions, 2 deletions
diff --git a/pkgtools/pkglint/files/pkglint.pl b/pkgtools/pkglint/files/pkglint.pl
index 0d647a0b88f..edd81a17af9 100644
--- a/pkgtools/pkglint/files/pkglint.pl
+++ b/pkgtools/pkglint/files/pkglint.pl
@@ -1,5 +1,5 @@
#! @PERL@
-# $NetBSD: pkglint.pl,v 1.635 2006/07/04 09:02:16 rillig Exp $
+# $NetBSD: pkglint.pl,v 1.636 2006/07/04 09:29:54 rillig Exp $
#
# pkglint - static analyzer and checker for pkgsrc packages
@@ -1418,6 +1418,9 @@ sub check_varassign($$$$$) {
}
if ($varparam ne $id) {
+
+ # XXX: This code sometimes produces weird warnings. See
+ # meta-pkgs/xorg/Makefile.common 1.41 for an example.
if ($self->is_complete()) {
$self->check_end();
@@ -4622,7 +4625,7 @@ sub checkline_mk_vartype_basic($$$$$$$$) {
}
if ($p !~ qr"^[\$/]") {
- $line->log_warning("\"${p}\" should be an absolute path.");
+ $line->log_warning("All components of ${varname} (in this case \"${p}\")should be an absolute path.");
}
}
}