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
commit46b130182e2a132e3e3ff9708746b9bae17b63f5 (patch)
treef5862170ad5d23423ec35fb066c6fc32c03f65c6 /pkgtools
parent509d0a1c85d05ef9beda52e75872acf18dc666e3 (diff)
downloadpkgsrc-46b130182e2a132e3e3ff9708746b9bae17b63f5.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;