From 961e1b24d2c9e1a08eff481dd8d26cadaeb098dc Mon Sep 17 00:00:00 2001 From: Joe Marcus Clarke Date: Sun, 5 Jan 2025 12:58:49 -0500 Subject: [PATCH] ports-mgmt/portlint: Update to 2.22.5 * Modernize KDE version checks [1] Submitted by: osa [1] --- ports-mgmt/portlint/Makefile | 2 +- ports-mgmt/portlint/src/portlint.pl | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ports-mgmt/portlint/Makefile b/ports-mgmt/portlint/Makefile index 7b74f65e8505..ef28219d5d9b 100644 --- a/ports-mgmt/portlint/Makefile +++ b/ports-mgmt/portlint/Makefile @@ -1,5 +1,5 @@ PORTNAME= portlint -PORTVERSION= 2.22.4 +PORTVERSION= 2.22.5 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 44f4536905a2..1c3c9e32ec98 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 = 4; +my $micro = 5; # default setting - for FreeBSD my $portsdir = '/usr/ports'; @@ -2368,10 +2368,10 @@ xargs xmkmf # whole file: USE_KDE check # if ($whole =~ /^USE_KDE[?:]?=\s*(.*)$/m) { - if ($makevar{USES} !~ /\bkde:[45]/) { + if ($makevar{USES} !~ /\bkde:[56]/) { my $lineno = &linenumber($`); &perror("WARN", $file, $lineno, "USE_KDE is defined without ". - "defining USES=kde:[45]"); + "defining USES=kde:[56]"); } }