From e42268627cf3225bf3c7975e2ad18ab9cc1a5c89 Mon Sep 17 00:00:00 2001 From: rillig Date: Wed, 18 May 2005 19:08:42 +0000 Subject: Removed the check if ${PKGBASE} ends in a digit. This check only produced false warnings, and it should be clear from the other package names how PKGNAME should look like. It is even documented in the pkgsrc guide. --- pkgtools/pkglint/files/pkglint.pl | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'pkgtools') diff --git a/pkgtools/pkglint/files/pkglint.pl b/pkgtools/pkglint/files/pkglint.pl index 8c1eebdd563..59702779aef 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.152 2005/05/18 08:28:06 rillig Exp $ +# $NetBSD: pkglint.pl,v 1.153 2005/05/18 19:08:42 rillig Exp $ # # This version contains lots of changes necessary for NetBSD packages # done by Hubert Feyrer , @@ -1572,13 +1572,6 @@ sub checkfile_Makefile($) { $i =~ s/\${DISTNAME[^}]*}/$distname/g; if ($i =~ /-([^-]+)$/) { my ($j, $k) = ($`, $1); - if ($j =~ /[0-9]$/) { - log_warning(NO_FILE, NO_LINE_NUMBER, "is \"$j\" sane as package name ". - "WITHOUT version number? ". - "if not, avoid \"-\" in version number ". - "part of ". - (($pkgname eq '') ? "DISTNAME." : "PKGNAME.")); - } # Be very smart. Kids, don't do this at home. if ($k =~ /\$(\(|\{)([A-Z_-]+)(\)|\})/) { my $k1 = $2; -- cgit v1.2.3