diff options
author | rillig <rillig> | 2005-11-19 19:28:06 +0000 |
---|---|---|
committer | rillig <rillig> | 2005-11-19 19:28:06 +0000 |
commit | a4adf96f44c5899f3ede4bd31b7765ddc4470227 (patch) | |
tree | 3d89507bad48731818100f23c3624badb8ff8ed6 /pkgtools | |
parent | 99d1165cb4a09750dc2bdeb782adf813c9402ac3 (diff) | |
download | pkgsrc-a4adf96f44c5899f3ede4bd31b7765ddc4470227.tar.gz |
Variable names starting with an underscore are reserved for internal
pkgsrc use.
Diffstat (limited to 'pkgtools')
-rw-r--r-- | pkgtools/pkglint/files/pkglint.pl | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/pkgtools/pkglint/files/pkglint.pl b/pkgtools/pkglint/files/pkglint.pl index 014732563c8..5860745b104 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.367 2005/11/19 19:18:56 rillig Exp $ +# $NetBSD: pkglint.pl,v 1.368 2005/11/19 19:28:06 rillig Exp $ # # This version contains lots of changes necessary for NetBSD packages # done by: @@ -2195,8 +2195,7 @@ sub checklines_package_Makefile($) { my ($varname, $op, $value, $comment) = ($1, $2, $3, $4); if ($varname =~ qr"^_") { - # TODO: enable this when lang/perl5 has been fixed. - #$line->log_error("Variable names starting with an underscore are reserved for internal pkgsrc use."); + $line->log_error("Variable names starting with an underscore are reserved for internal pkgsrc use."); } if ($varname eq "PERL5_PACKLIST" && defined($pkgname) && $pkgname =~ qr"^p5-(.*)-[0-9].*") { |