Index: BOOK/final-system/common/automake.xml
===================================================================
--- BOOK/final-system/common/automake.xml (revision bdf6b0780194025f4203f1149a36bb9b19e2bd48)
+++ BOOK/final-system/common/automake.xml (revision 16e8ba11915b45740615468b29286b6246a29a6b)
@@ -27,4 +27,9 @@
Prepare Automake for compilation:
+
+ Apply the following patch to fix outdated syntax that is no
+ longer recognized by Perl-&perl-version;.
+
+patch -Np1 -i ../&automake-perl-patch;
./configure \
Index: BOOK/final-system/multilib/automake.xml
===================================================================
--- BOOK/final-system/multilib/automake.xml (revision bdf6b0780194025f4203f1149a36bb9b19e2bd48)
+++ BOOK/final-system/multilib/automake.xml (revision 16e8ba11915b45740615468b29286b6246a29a6b)
@@ -25,4 +25,12 @@
href="../common/automake.xml"
xpointer="xpointer(//*[@os='a'])"/>
+
+
+
+
CC="gcc ${BUILD64}" \
Index: BOOK/materials/common/patches.xml
===================================================================
--- BOOK/materials/common/patches.xml (revision bdf6b0780194025f4203f1149a36bb9b19e2bd48)
+++ BOOK/materials/common/patches.xml (revision 16e8ba11915b45740615468b29286b6246a29a6b)
@@ -18,4 +18,14 @@
+
+
+ Automake Perl Patch - &automake-perl-patch-size;:
+
+ Download:
+ MD5 sum: &automake-perl-patch-md5;
+
+
+
Index: BOOK/patches.ent
===================================================================
--- BOOK/patches.ent (revision bdf6b0780194025f4203f1149a36bb9b19e2bd48)
+++ BOOK/patches.ent (revision 16e8ba11915b45740615468b29286b6246a29a6b)
@@ -4,4 +4,8 @@
+
+
+
+
Index: patches/automake-1.15-perl_5_26-1.patch
===================================================================
--- patches/automake-1.15-perl_5_26-1.patch (revision 16e8ba11915b45740615468b29286b6246a29a6b)
+++ patches/automake-1.15-perl_5_26-1.patch (revision 16e8ba11915b45740615468b29286b6246a29a6b)
@@ -0,0 +1,18 @@
+Submitted by: Chris Staub (chris at clfs dot org)
+Date: 2017-06-01
+Initial Package Version: 1.15
+Origin: https://patchwork.ozlabs.org/patch/735705/
+Description: Updates Automake to work with Perl 5.26
+
+diff -Naur automake-1.15.orig/bin/automake.in automake-1.15/bin/automake.in
+--- automake-1.15.orig/bin/automake.in 2015-01-05 14:25:55.000000000 -0500
++++ automake-1.15/bin/automake.in 2017-06-01 16:17:54.000000000 -0400
+@@ -3878,7 +3878,7 @@
+ 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;
+ }
+