git: 17a697259404 - main - ports-mgmt/portlint: Update to 2.22.8

From: Joe Marcus Clarke <marcus_at_FreeBSD.org>
Date: Fri, 11 Apr 2025 13:47:43 UTC
The branch main has been updated by marcus:

URL: https://cgit.FreeBSD.org/ports/commit/?id=17a6972594046e78f4286f121c7a8b7949af17b4

commit 17a6972594046e78f4286f121c7a8b7949af17b4
Author:     Joe Marcus Clarke <marcus@FreeBSD.org>
AuthorDate: 2025-04-11 13:44:06 +0000
Commit:     Joe Marcus Clarke <marcus@FreeBSD.org>
CommitDate: 2025-04-11 13:44:06 +0000

    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
---
 ports-mgmt/portlint/Makefile        | 2 +-
 ports-mgmt/portlint/src/portlint.pl | 3 +--
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/ports-mgmt/portlint/Makefile b/ports-mgmt/portlint/Makefile
index 9d81d4acd787..ad1eb8e48483 100644
--- a/ports-mgmt/portlint/Makefile
+++ b/ports-mgmt/portlint/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	portlint
-PORTVERSION=	2.22.7
+PORTVERSION=	2.22.8
 CATEGORIES=	ports-mgmt
 MASTER_SITES=	# none
 DISTFILES=	# none
diff --git a/ports-mgmt/portlint/src/portlint.pl b/ports-mgmt/portlint/src/portlint.pl
index 5ebbb5a79e74..7f3587267eff 100644
--- a/ports-mgmt/portlint/src/portlint.pl
+++ b/ports-mgmt/portlint/src/portlint.pl
@@ -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.");
 	}