From a4adf96f44c5899f3ede4bd31b7765ddc4470227 Mon Sep 17 00:00:00 2001 From: rillig Date: Sat, 19 Nov 2005 19:28:06 +0000 Subject: Variable names starting with an underscore are reserved for internal pkgsrc use. --- pkgtools/pkglint/files/pkglint.pl | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'pkgtools') 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].*") { -- cgit v1.2.3