You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/sys-devel/automake/files/automake-1.4-perl-dyn-call....

24 lines
738 B

at some point, a perl update broke this syntax. use a newer style that works
with at least perl-5.16.
--- a/automake.in
+++ b/automake.in
@@ -983,7 +983,7 @@ sub finish_languages
# Compute the function name of the finisher and then call it.
$name = 'lang_' . $lang . '_finish';
- do $name ();
+ &$name ();
}
# If the project is entirely C++ or entirely Fortran 77, don't
@@ -1144,7 +1144,7 @@ sub handle_single_transform_list
# Found the language, so see what it says.
local ($subr) = 'lang_' . $lang . '_rewrite';
# Note: computed subr call.
- local ($r) = do $subr ($base, $extension);
+ local ($r) = &$subr ($base, $extension);
# Skip this entry if we were asked not to process it.
next if ! $r;