Switch to unversioned autoconf.

Remove unversioned autoconf symlink from all but the latest autoconf.

This makes it clearer which autoconf is used.
This commit is contained in:
Andrius Štikonas 2022-07-02 20:39:19 +01:00
parent bc5fc8375d
commit 5209078684
34 changed files with 54 additions and 85 deletions

View file

@ -6,7 +6,7 @@ src_prepare() {
rm doc/standards.info man/*.1
sed -i -e '/AC_PROG_GREP/d' -e '/AC_PROG_SED/d' configure.ac
autoreconf-2.59 -f
AUTOM4TE=autom4te-2.59 AUTOCONF=autoconf-2.59 autoreconf-2.59 -f
# Install autoconf data files into versioned directory
for file in */*/Makefile.in */Makefile.in Makefile.in; do
@ -24,9 +24,4 @@ src_compile() {
src_install() {
make install MAKEINFO=true DESTDIR="${DESTDIR}"
ln -sf "${PREFIX}/bin/autoconf-2.61" "${DESTDIR}${PREFIX}/bin/autoconf"
ln -sf "${PREFIX}/bin/autoheader-2.61" "${DESTDIR}${PREFIX}/bin/autoheader"
ln -sf "${PREFIX}/bin/autom4te-2.61" "${DESTDIR}${PREFIX}/bin/autom4te"
ln -sf "${PREFIX}/bin/autoreconf-2.61" "${DESTDIR}${PREFIX}/bin/autoreconf"
}