dev-build/autoconf: fix src_prepare for live

... at least when patching .m4. Copy what we do for automake.

Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James 2025-05-15 12:48:34 +01:00
parent 3d8ecd2824
commit ace547a13a
No known key found for this signature in database
GPG Key ID: 738409F520DF9190

View File

@ -1,4 +1,4 @@
# Copyright 1999-2024 Gentoo Authors
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@ -64,7 +64,11 @@ src_prepare() {
local ver=$(./build-aux/git-version-gen .tarball-version)
echo "${ver}" > .tarball-version || die
autoreconf -f -i || die
export WANT_AUTOCONF=2.5
export WANT_AUTOMAKE=1.17
# Don't try wrapping the autotools - this thing runs as it tends
# to be a bit esoteric, and the script does `set -e` itself.
./bootstrap || die
fi
# usr/bin/libtool is provided by binutils-apple, need gnu libtool