ports-mgmt/portlint: Update to 2.22.8

I added a call to checkearlier() in the previous version when I
addressed the duplicate LICENSE warnings.  This isn't needed here.  It
should be called in the next, conditional block.  This should fix the
case where all ports that use LICENSE are flagged as having that section
being earlier.

Reported by:	Sergei Vyshenski
This commit is contained in:
Joe Marcus Clarke 2025-04-11 09:44:06 -04:00
parent 5f1294d5d6
commit 17a6972594
2 changed files with 2 additions and 3 deletions

View file

@ -1,5 +1,5 @@
PORTNAME= portlint
PORTVERSION= 2.22.7
PORTVERSION= 2.22.8
CATEGORIES= ports-mgmt
MASTER_SITES= # none
DISTFILES= # none

View file

@ -52,7 +52,7 @@ $portdir = '.';
# version variables
my $major = 2;
my $minor = 22;
my $micro = 7;
my $micro = 8;
# default setting - for FreeBSD
my $portsdir = '/usr/ports';
@ -3306,7 +3306,6 @@ MAINTAINER COMMENT WWW
LICENSE LICENSE_COMB LICENSE_GROUPS LICENSE_NAME
LICENSE_TEXT LICENSE_FILE LICENSE_PERMS
));
&checkearlier($file, $tmp, @varnames);
} else {
&perror("WARN", $file, -1, "Consider defining LICENSE.");
}