Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 09 Sep 2015 08:47:20 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 202986] devel/automake: Perl 5.22 breaks automake
Message-ID:  <bug-202986-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202986

            Bug ID: 202986
           Summary: devel/automake: Perl 5.22 breaks automake
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: tijl@FreeBSD.org
          Reporter: brnrd@freebsd.org
             Flags: maintainer-feedback?(tijl@FreeBSD.org)
          Assignee: tijl@FreeBSD.org

Running automake returns:
Unescaped left brace in regex is deprecated, passed through in regex; marked by
<-- HERE in m/\${ <-- HERE ([^ \t=:+{}]+)}/ at /usr/local/bin/automake-1.15
line 3936.

this seems to be a result of perl >= 5.22

Patch is dead simple
--- /usr/local/bin/automake-1.15.orig   2015-08-17 09:59:32.000000000 +0200
+++ /usr/local/bin/automake-1.15        2015-09-09 10:07:51.485641798 +0200
@@ -3933,7 +3933,7 @@ sub substitute_ac_subst_variables_worker
 sub substitute_ac_subst_variables
 {
   my ($text) = @_;
-  $text =~ s/\${([^ \t=:+{}]+)}/substitute_ac_subst_variables_worker ($1)/ge;
+  $text =~ s/\$\{([^ \t=:+{}]+)\}/substitute_ac_subst_variables_worker
($1)/ge;
   return $text;
 }

-- 
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-202986-13>