pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/pkgtools/pkglint/files - Disable checking for variable...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/32152ee4a78f
branches:  trunk
changeset: 502789:32152ee4a78f
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Tue Nov 08 22:27:12 2005 +0000

description:
- Disable checking for variable names starting with an underscore. Due
  to the lang/perl5 package there have been more than 19000 new error
  lines in the diagnostics of the complete pkgsrc tree.

diffstat:

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

diffs (22 lines):

diff -r a3c375047508 -r 32152ee4a78f pkgtools/pkglint/files/pkglint.pl
--- a/pkgtools/pkglint/files/pkglint.pl Tue Nov 08 22:19:34 2005 +0000
+++ b/pkgtools/pkglint/files/pkglint.pl Tue Nov 08 22:27:12 2005 +0000
@@ -11,7 +11,7 @@
 # Freely redistributable.  Absolutely no warranty.
 #
 # From Id: portlint.pl,v 1.64 1998/02/28 02:34:05 itojun Exp
-# $NetBSD: pkglint.pl,v 1.339 2005/11/08 21:13:43 rillig Exp $
+# $NetBSD: pkglint.pl,v 1.340 2005/11/08 22:27:12 rillig Exp $
 #
 # This version contains lots of changes necessary for NetBSD packages
 # done by:
@@ -2084,7 +2084,8 @@
                        my ($varname, $op, $value, $comment) = ($1, $2, $3, $4);
 
                        if ($varname =~ qr"^_") {
-                               $line->log_error("Variable names starting with an underscore are reserved for internal pkgsrc use.");
+                               # TODO: enable this when lang/perl5 has been fixed.
+                               #$line->log_error("Variable names starting with an underscore are reserved for internal pkgsrc use.");
                        }
 
                        if ($varname eq "COMMENT") {



Home | Main Index | Thread Index | Old Index