diff options
author | rillig <rillig> | 2005-11-08 22:27:12 +0000 |
---|---|---|
committer | rillig <rillig> | 2005-11-08 22:27:12 +0000 |
commit | 9f2a2ff4517147b002adcd7772d8c474edaf1631 (patch) | |
tree | adcabd8ace21c0dc2274d759c4aeb5ec4b7ab230 | |
parent | 3b14fc4a2e74ac4d4ffa0f43d9dbfe573e13bd82 (diff) | |
download | pkgsrc-9f2a2ff4517147b002adcd7772d8c474edaf1631.tar.gz |
- 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.
-rw-r--r-- | pkgtools/pkglint/files/pkglint.pl | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgtools/pkglint/files/pkglint.pl b/pkgtools/pkglint/files/pkglint.pl index 548dbd67c6c..9a0a5bdfc33 100644 --- a/pkgtools/pkglint/files/pkglint.pl +++ b/pkgtools/pkglint/files/pkglint.pl @@ -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 @@ sub checklines_package_Makefile($) { 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") { |