Summary: | [patch update] ports-mgmt/portlint fix to de-noise if used with perl5.22 | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Kurt Jaeger <pi> | ||||
Component: | Individual Port(s) | Assignee: | Joe Marcus Clarke <marcus> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | CC: | pi | ||||
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(marcus) |
||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
A commit references this bug: Author: marcus Date: Mon Jul 6 14:51:17 UTC 2015 New revision: 391416 URL: https://svnweb.freebsd.org/changeset/ports/391416 Log: Update to 2.16.5. * Add a check for BROKEN similar to IGNORE [1] * Quiet the noise when used with Perl 5.22 [2] * Fix a bug checking for USES sortedness [3] * Correct a logic bug checking for USE_ANT [4] PR: 200634 [2] 200792 [3] 200421 [4] Submitted by: pi [2] John Hein <z7dr6ut7gs@snkmail.com> [4] Reported by: koobs [1] Changes: head/ports-mgmt/portlint/Makefile head/ports-mgmt/portlint/src/portlint.pl Committed, thanks! |
Created attachment 157406 [details] escape left curly brackets in regex If portlint is used and perl5.22 is installed, it has many error messages like those: Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\nMAN3PREFIX=\s*\${PREFIX}/lib/perl5/\${ <-- HERE PERL_VER/ at /usr/local/bin/portlint line 2959. Solution: add \ to every left open curly bracket in a regexp.