Update to 2.14.1.

Remove the check for empty header comments.  I think this is too
restrictive.  There are a number of ports that do this for various reasons.
This commit is contained in:
Joe Marcus Clarke 2012-12-29 23:19:06 +00:00
parent 541cf0967e
commit fc1ea63b9d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=309644
2 changed files with 5 additions and 5 deletions

View file

@ -5,7 +5,7 @@
#
PORTNAME= portlint
PORTVERSION= 2.14.0
PORTVERSION= 2.14.1
CATEGORIES= ports-mgmt
MASTER_SITES= # none
DISTFILES= # none

View file

@ -17,7 +17,7 @@
# OpenBSD and NetBSD will be accepted.
#
# $FreeBSD$
# $MCom: portlint/portlint.pl,v 1.264 2012/12/27 23:29:04 marcus Exp $
# $MCom: portlint/portlint.pl,v 1.266 2012/12/29 23:23:32 marcus Exp $
#
use strict;
@ -52,7 +52,7 @@ $portdir = '.';
# version variables
my $major = 2;
my $minor = 14;
my $micro = 0;
my $micro = 1;
sub l { '[{(]'; }
sub r { '[)}]'; }
@ -1336,8 +1336,8 @@ sub checkmakefile {
&perror("FATAL", $file, 2, "header should be ".
"followed by \$$rcsidstr\$.");
} elsif ($lines[3] !~ /^$/) {
&perror("FATAL", $file, 3, "do not add extra ".
"empty comments after header.");
#&perror("FATAL", $file, 3, "do not add extra ".
# "empty comments after header.");
}
} elsif ($lines[1] !~ /^# \$$rcsidstr[:\$]/ or $lines[2] !~ /^$/) {
&perror("FATAL", $file, 1, "incorrect header; ".