[Bug 200634] [patch update] ports-mgmt/portlint fix to de-noise if used with perl5.22

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Jun 4 11:45:33 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200634

            Bug ID: 200634
           Summary: [patch update] ports-mgmt/portlint fix to de-noise if
                    used with perl5.22
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: marcus at FreeBSD.org
          Reporter: pi at FreeBSD.org
             Flags: maintainer-feedback?(marcus at FreeBSD.org)
          Assignee: marcus at FreeBSD.org

Created attachment 157406
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=157406&action=edit
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.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list