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 a comment, since I di...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3bec95c149d4
branches:  trunk
changeset: 547416:3bec95c149d4
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Tue Sep 16 14:24:25 2008 +0000

description:
Clarified a comment, since I didn't understand it two years after writing it.

diffstat:

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

diffs (23 lines):

diff -r 7950124f625d -r 3bec95c149d4 pkgtools/pkglint/files/pkglint.pl
--- a/pkgtools/pkglint/files/pkglint.pl Tue Sep 16 14:19:11 2008 +0000
+++ b/pkgtools/pkglint/files/pkglint.pl Tue Sep 16 14:24:25 2008 +0000
@@ -1,5 +1,5 @@
 #! @PERL@
-# $NetBSD: pkglint.pl,v 1.772 2008/08/30 06:50:37 rillig Exp $
+# $NetBSD: pkglint.pl,v 1.773 2008/09/16 14:24:25 rillig Exp $
 #
 
 # pkglint - static analyzer and checker for pkgsrc packages
@@ -5900,9 +5900,9 @@
        if ($varname eq "EVAL_PREFIX" && $value =~ qr"^([\w_]+)=") {
                my ($eval_varname) = ($1);
 
-               # This assignment will define the variable named
-               # $eval_varname. It is marked as known in the current
-               # file.
+               # The variables mentioned in EVAL_PREFIX will later be
+               # defined by find-prefix.mk. Therefore, they are marked
+               # as known in the current file.
                $mkctx_vardef->{$eval_varname} = $line;
        }
 



Home | Main Index | Thread Index | Old Index