ports-mgmt/portlint: Update to 2.22.5

* Modernize KDE version checks [1]
Submitted by:	osa [1]
This commit is contained in:
Joe Marcus Clarke 2025-01-05 12:58:49 -05:00
parent ff28ab4e2d
commit 961e1b24d2
2 changed files with 4 additions and 4 deletions

View file

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

View file

@ -52,7 +52,7 @@ $portdir = '.';
# version variables # version variables
my $major = 2; my $major = 2;
my $minor = 22; my $minor = 22;
my $micro = 4; my $micro = 5;
# default setting - for FreeBSD # default setting - for FreeBSD
my $portsdir = '/usr/ports'; my $portsdir = '/usr/ports';
@ -2368,10 +2368,10 @@ xargs xmkmf
# whole file: USE_KDE check # whole file: USE_KDE check
# #
if ($whole =~ /^USE_KDE[?:]?=\s*(.*)$/m) { if ($whole =~ /^USE_KDE[?:]?=\s*(.*)$/m) {
if ($makevar{USES} !~ /\bkde:[45]/) { if ($makevar{USES} !~ /\bkde:[56]/) {
my $lineno = &linenumber($`); my $lineno = &linenumber($`);
&perror("WARN", $file, $lineno, "USE_KDE is defined without ". &perror("WARN", $file, $lineno, "USE_KDE is defined without ".
"defining USES=kde:[45]"); "defining USES=kde:[56]");
} }
} }