freebsd-ports/devel/automake/files/patch-bin-automake.in
Tijl Coosemans 71cb5baf1d Add a patch for perl 5.22 which warns that unescaped left braces in
regular expressions are deprecated.

PR:		202986
Submitted by:	brnrd
2015-10-05 10:14:45 +00:00

11 lines
372 B
Text

--- bin/automake.in.orig 2015-01-05 19:25:55 UTC
+++ bin/automake.in
@@ -3878,7 +3878,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;
}