git: 7c58302b4108 - main - ports-mgmt/portlint: Update to 2.22
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 08 Jan 2024 17:30:06 UTC
The branch main has been updated by marcus: URL: https://cgit.FreeBSD.org/ports/commit/?id=7c58302b41088e360559c3a3e58beb5cca89f521 commit 7c58302b41088e360559c3a3e58beb5cca89f521 Author: Joe Marcus Clarke <marcus@FreeBSD.org> AuthorDate: 2024-01-08 17:24:15 +0000 Commit: Joe Marcus Clarke <marcus@FreeBSD.org> CommitDate: 2024-01-08 17:30:01 +0000 ports-mgmt/portlint: Update to 2.22 This fixes some spurious errors by concatenating continued lines in the Makefile. The downside of this is that line numbers will get more askew. I thought I'd get some time to imrove this, but didn't. And this fix is important to get out now. PR: 275075 --- ports-mgmt/portlint/Makefile | 2 +- ports-mgmt/portlint/src/portlint.pl | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ports-mgmt/portlint/Makefile b/ports-mgmt/portlint/Makefile index 6cdf645fc588..c83969c45e9a 100644 --- a/ports-mgmt/portlint/Makefile +++ b/ports-mgmt/portlint/Makefile @@ -1,5 +1,5 @@ PORTNAME= portlint -PORTVERSION= 2.21.0 +PORTVERSION= 2.22.0 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 f8d7185e8827..5fa4267e6065 100644 --- a/ports-mgmt/portlint/src/portlint.pl +++ b/ports-mgmt/portlint/src/portlint.pl @@ -51,7 +51,7 @@ $portdir = '.'; # version variables my $major = 2; -my $minor = 21; +my $minor = 22; my $micro = 0; # default setting - for FreeBSD @@ -1406,6 +1406,11 @@ sub checkmakefile { } } $rawwhole .= $_; + if (/\\$/) { + # Concat continued lines. + chomp $rawwhole; + chop $rawwhole; + } } close(IN);