summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorrillig <rillig>2005-05-18 19:08:42 +0000
committerrillig <rillig>2005-05-18 19:08:42 +0000
commite42268627cf3225bf3c7975e2ad18ab9cc1a5c89 (patch)
treef5862170ad5d23423ec35fb066c6fc32c03f65c6 /pkgtools
parent8e5348d095bd7010c4dfcc2176c948d1886820a6 (diff)
downloadpkgsrc-e42268627cf3225bf3c7975e2ad18ab9cc1a5c89.tar.gz
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.
Diffstat (limited to 'pkgtools')
-rw-r--r--pkgtools/pkglint/files/pkglint.pl9
1 files changed, 1 insertions, 8 deletions
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 <hubertf@netbsd.org>,
@@ -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;