Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 04 Jun 2015 11:45:33 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 200634] [patch update] ports-mgmt/portlint fix to de-noise if used with perl5.22
Message-ID:  <bug-200634-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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@FreeBSD.org
          Reporter: pi@FreeBSD.org
             Flags: maintainer-feedback?(marcus@FreeBSD.org)
          Assignee: marcus@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-200634-13>