commit: 607991542d51e4c20af09d1710bdd21e23941d53
parent 755572903e14484637008a1346ace00a6f3baa44
Author: Andrius Štikonas <andrius@stikonas.eu>
Date: Sat, 27 Feb 2021 20:07:04 +0000
Add autoconf 2.13.
Diffstat:
6 files changed, 25 insertions(+), 0 deletions(-)
diff --git a/SHA256SUMS.sources b/SHA256SUMS.sources
@@ -1,3 +1,4 @@
+f0611136bee505811e9ca11ca7ac188ef5323a8e2ef19cffd3edb3cf08fd791e autoconf-2.13.tar.gz
534e99b61b81e79327b6d08f1a3edb0755ac246e1249009b0e1bf5887b60d7a9 autoconf-2.52.tar.gz
503cdc2b0992a4309545d17f462cb15f99bb57b7161dfc4082b2e7188f2bcc0f automake-1.4-p6.tar.gz
ba03d412998cc54bd0b0f2d6c32100967d3137098affdc2d32e6e7c11b163fe4 bash-2.05b.tar.gz
diff --git a/parts.rst b/parts.rst
@@ -382,3 +382,8 @@ autoconf 2.52
=============
We now properly rebuild ``autoconf`` using ``autoconf`` and ``automake``.
+
+autoconf 2.13
+=============
+
+Different versions of autotools are not fully compatible, so build older ``autoconf`` too.
diff --git a/rootfs.sh b/rootfs.sh
@@ -207,6 +207,9 @@ get_file https://ftp.gnu.org/gnu/autoconf/autoconf-2.52.tar.gz
# automake 1.4-p6
get_file https://ftp.gnu.org/gnu/automake/automake-1.4-p6.tar.gz
+# autoconf 2.13
+get_file https://ftp.gnu.org/gnu/autoconf/autoconf-2.13.tar.gz
+
# General cleanup
find tmp -name .git -exec rm -rf \;
diff --git a/sysa/autoconf-2.13/autoconf-2.13.sh b/sysa/autoconf-2.13/autoconf-2.13.sh
@@ -0,0 +1,14 @@
+# SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
+#
+# SPDX-License-Identifier: GPL-3.0-or-later
+
+src_prepare() {
+ rm configure
+ autoconf-2.52
+
+ sed -i '/^acdatadir/s:$:-2.13:' Makefile.in
+}
+
+src_configure() {
+ ./configure --prefix=${PREFIX} --program-suffix=-2.13
+}
diff --git a/sysa/autoconf-2.13/checksums b/sysa/autoconf-2.13/checksums
diff --git a/sysa/run.sh b/sysa/run.sh
@@ -75,4 +75,6 @@ build automake-1.4-p6 stage2.sh
build autoconf-2.52 stage2.sh
+build autoconf-2.13
+
echo "Bootstrapping completed."