forked from Lainports/freebsd-ports
ports-mgmt/portlint: Update to 2.22.5
* Modernize KDE version checks [1] Submitted by: osa [1]
This commit is contained in:
parent
ff28ab4e2d
commit
961e1b24d2
2 changed files with 4 additions and 4 deletions
|
|
@ -1,5 +1,5 @@
|
|||
PORTNAME= portlint
|
||||
PORTVERSION= 2.22.4
|
||||
PORTVERSION= 2.22.5
|
||||
CATEGORIES= ports-mgmt
|
||||
MASTER_SITES= # none
|
||||
DISTFILES= # none
|
||||
|
|
|
|||
|
|
@ -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]");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue