[Bug 202986] devel/automake: Perl 5.22 breaks automake
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Sep 9 08:47:20 UTC 2015
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 at FreeBSD.org
Reporter: brnrd at freebsd.org
Flags: maintainer-feedback?(tijl at FreeBSD.org)
Assignee: tijl at 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.
More information about the freebsd-ports-bugs
mailing list