ports/devel/automake/1.13/patches/patch-automake_in

29 lines
831 B
Text
Raw Permalink Normal View History

2023-08-16 22:26:55 +00:00
Index: automake.in
--- automake.in.orig
+++ automake.in
@@ -3932,7 +3932,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;
}
@@ -5162,6 +5162,7 @@ sub scan_autoconf_traces ($)
_LT_AC_TAGCONFIG => 0,
m4_include => 1,
m4_sinclude => 1,
+ include => 1,
sinclude => 1,
);
@@ -5185,6 +5186,7 @@ sub scan_autoconf_traces ($)
my ($here, $depth, @args) = split (/::/);
$where = new Automake::Location $here;
my $macro = $args[0];
+ next if ($macro eq "include");
prog_error ("unrequested trace '$macro'")
unless exists $traced{$macro};