From ddf05018a910e5bea4f51fb99257f04a5012ffb3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrius=20=C5=A0tikonas?= Date: Sun, 11 Apr 2021 22:57:43 +0100 Subject: [PATCH] Remove pre-generated info files. Fixes: #86 --- sysa/autoconf-2.12/autoconf-2.12.sh | 2 +- sysa/autoconf-2.13/autoconf-2.13.sh | 2 +- sysa/autoconf-2.52/stage2.sh | 1 + sysa/autoconf-2.53/stage1.sh | 2 +- sysa/autoconf-2.53/stage2.sh | 2 +- sysa/autoconf-2.55/autoconf-2.55.sh | 2 +- sysa/autoconf-2.57/autoconf-2.57.sh | 1 + sysa/autoconf-2.59/autoconf-2.59.sh | 1 + sysa/autoconf-2.61/stage1.sh | 1 + sysa/autoconf-2.61/stage2.sh | 1 + sysa/autoconf-2.65/autoconf-2.65.sh | 1 + sysa/autoconf-2.69/autoconf-2.69.sh | 1 + sysa/automake-1.12.6/automake-1.12.6.sh | 2 ++ sysa/automake-1.13.4/automake-1.13.4.sh | 2 ++ sysa/automake-1.15.1/automake-1.15.1.sh | 2 ++ sysa/findutils-4.2.33/findutils-4.2.33.sh | 11 +++++++++++ sysa/gcc-4.0.4/pass1.sh | 5 ++++- sysa/gcc-4.0.4/pass2.sh | 5 ++++- sysa/gmp-6.2.1/gmp-6.2.1.sh | 11 +++++++++++ 19 files changed, 48 insertions(+), 7 deletions(-) diff --git a/sysa/autoconf-2.12/autoconf-2.12.sh b/sysa/autoconf-2.12/autoconf-2.12.sh index 77106a9..e955d7f 100755 --- a/sysa/autoconf-2.12/autoconf-2.12.sh +++ b/sysa/autoconf-2.12/autoconf-2.12.sh @@ -3,7 +3,7 @@ # SPDX-License-Identifier: GPL-3.0-or-later src_prepare() { - rm configure + rm configure standards.info autoconf-2.52 sed -i '/^acdatadir/s:$:-2.12:' Makefile.in diff --git a/sysa/autoconf-2.13/autoconf-2.13.sh b/sysa/autoconf-2.13/autoconf-2.13.sh index 8f99124..578b494 100755 --- a/sysa/autoconf-2.13/autoconf-2.13.sh +++ b/sysa/autoconf-2.13/autoconf-2.13.sh @@ -3,7 +3,7 @@ # SPDX-License-Identifier: GPL-3.0-or-later src_prepare() { - rm configure + rm configure standards.info autoconf-2.52 sed -i '/^acdatadir/s:$:-2.13:' Makefile.in diff --git a/sysa/autoconf-2.52/stage2.sh b/sysa/autoconf-2.52/stage2.sh index 6713630..55dc8bc 100755 --- a/sysa/autoconf-2.52/stage2.sh +++ b/sysa/autoconf-2.52/stage2.sh @@ -3,6 +3,7 @@ # SPDX-License-Identifier: GPL-3.0-or-later src_prepare() { + rm doc/standards.info rm Makefile.in */Makefile.in rm configure autoconf-2.52 diff --git a/sysa/autoconf-2.53/stage1.sh b/sysa/autoconf-2.53/stage1.sh index af7a0d6..0f2b5f7 100755 --- a/sysa/autoconf-2.53/stage1.sh +++ b/sysa/autoconf-2.53/stage1.sh @@ -5,7 +5,7 @@ src_prepare() { default_src_prepare - rm Makefile.in */Makefile.in */*/Makefile.in aclocal.m4 configure + rm Makefile.in */Makefile.in */*/Makefile.in aclocal.m4 configure doc/standards.info aclocal-1.6 cat config/m4.m4 >> aclocal.m4 autoconf-2.52 diff --git a/sysa/autoconf-2.53/stage2.sh b/sysa/autoconf-2.53/stage2.sh index 2177503..c62a0c9 100755 --- a/sysa/autoconf-2.53/stage2.sh +++ b/sysa/autoconf-2.53/stage2.sh @@ -3,7 +3,7 @@ # SPDX-License-Identifier: GPL-3.0-or-later src_prepare() { - rm Makefile.in */Makefile.in */*/Makefile.in aclocal.m4 configure + rm Makefile.in */Makefile.in */*/Makefile.in aclocal.m4 configure doc/standards.info aclocal-1.6 cat config/m4.m4 >> aclocal.m4 autoconf-2.53 diff --git a/sysa/autoconf-2.55/autoconf-2.55.sh b/sysa/autoconf-2.55/autoconf-2.55.sh index 196fe16..4655f8a 100755 --- a/sysa/autoconf-2.55/autoconf-2.55.sh +++ b/sysa/autoconf-2.55/autoconf-2.55.sh @@ -4,7 +4,7 @@ src_prepare() { rm bin/autoconf.in - rm Makefile.in */Makefile.in */*/Makefile.in aclocal.m4 configure + rm Makefile.in */Makefile.in */*/Makefile.in aclocal.m4 configure doc/standards.info autoreconf-2.54 diff --git a/sysa/autoconf-2.57/autoconf-2.57.sh b/sysa/autoconf-2.57/autoconf-2.57.sh index d0895f9..5c5746d 100755 --- a/sysa/autoconf-2.57/autoconf-2.57.sh +++ b/sysa/autoconf-2.57/autoconf-2.57.sh @@ -4,6 +4,7 @@ src_prepare() { rm bin/autoconf.in + rm doc/standards.info autoreconf-2.55 -f diff --git a/sysa/autoconf-2.59/autoconf-2.59.sh b/sysa/autoconf-2.59/autoconf-2.59.sh index 8970e68..91e950e 100755 --- a/sysa/autoconf-2.59/autoconf-2.59.sh +++ b/sysa/autoconf-2.59/autoconf-2.59.sh @@ -4,6 +4,7 @@ src_prepare() { rm bin/autoconf.in + rm doc/standards.info autoreconf-2.57 -f diff --git a/sysa/autoconf-2.61/stage1.sh b/sysa/autoconf-2.61/stage1.sh index 3f3e9bd..c610fef 100755 --- a/sysa/autoconf-2.61/stage1.sh +++ b/sysa/autoconf-2.61/stage1.sh @@ -3,6 +3,7 @@ # SPDX-License-Identifier: GPL-3.0-or-later src_prepare() { + rm doc/standards.info sed -i -e '/AC_PROG_GREP/d' -e '/AC_PROG_SED/d' configure.ac autoreconf-2.59 -f diff --git a/sysa/autoconf-2.61/stage2.sh b/sysa/autoconf-2.61/stage2.sh index f5f6c3e..071b8c2 100755 --- a/sysa/autoconf-2.61/stage2.sh +++ b/sysa/autoconf-2.61/stage2.sh @@ -3,6 +3,7 @@ # SPDX-License-Identifier: GPL-3.0-or-later src_prepare() { + rm doc/standards.info autoreconf-2.61 -f # Install autoconf data files into versioned directory diff --git a/sysa/autoconf-2.65/autoconf-2.65.sh b/sysa/autoconf-2.65/autoconf-2.65.sh index d56256e..ddd2a5a 100755 --- a/sysa/autoconf-2.65/autoconf-2.65.sh +++ b/sysa/autoconf-2.65/autoconf-2.65.sh @@ -3,6 +3,7 @@ # SPDX-License-Identifier: GPL-3.0-or-later src_prepare() { + rm doc/standards.info autoreconf-2.61 -f # Install autoconf data files into versioned directory diff --git a/sysa/autoconf-2.69/autoconf-2.69.sh b/sysa/autoconf-2.69/autoconf-2.69.sh index 935069f..604fa4a 100755 --- a/sysa/autoconf-2.69/autoconf-2.69.sh +++ b/sysa/autoconf-2.69/autoconf-2.69.sh @@ -3,6 +3,7 @@ # SPDX-License-Identifier: GPL-3.0-or-later src_prepare() { + rm doc/standards.info autoreconf-2.65 -f # Install autoconf data files into versioned directory diff --git a/sysa/automake-1.12.6/automake-1.12.6.sh b/sysa/automake-1.12.6/automake-1.12.6.sh index 817e6ec..f9e7a6d 100755 --- a/sysa/automake-1.12.6/automake-1.12.6.sh +++ b/sysa/automake-1.12.6/automake-1.12.6.sh @@ -6,6 +6,8 @@ src_prepare() { default_src_prepare autoreconf-2.69 -f + + rm doc/automake-history.info } src_configure() { diff --git a/sysa/automake-1.13.4/automake-1.13.4.sh b/sysa/automake-1.13.4/automake-1.13.4.sh index 817e6ec..f9e7a6d 100755 --- a/sysa/automake-1.13.4/automake-1.13.4.sh +++ b/sysa/automake-1.13.4/automake-1.13.4.sh @@ -6,6 +6,8 @@ src_prepare() { default_src_prepare autoreconf-2.69 -f + + rm doc/automake-history.info } src_configure() { diff --git a/sysa/automake-1.15.1/automake-1.15.1.sh b/sysa/automake-1.15.1/automake-1.15.1.sh index 2871b31..d1d8c48 100755 --- a/sysa/automake-1.15.1/automake-1.15.1.sh +++ b/sysa/automake-1.15.1/automake-1.15.1.sh @@ -6,6 +6,8 @@ src_prepare() { default_src_prepare ./bootstrap + + rm doc/automake-history.info } src_configure() { diff --git a/sysa/findutils-4.2.33/findutils-4.2.33.sh b/sysa/findutils-4.2.33/findutils-4.2.33.sh index c6cff91..06a799c 100755 --- a/sysa/findutils-4.2.33/findutils-4.2.33.sh +++ b/sysa/findutils-4.2.33/findutils-4.2.33.sh @@ -6,9 +6,20 @@ src_prepare() { . ../../import-gnulib.sh autoreconf-2.61 -f + + # Pre-build texinfo files + rm doc/find.info } src_configure() { # Musl is not recognized, pretend to be uClibc CC=tcc ./configure --prefix="${PREFIX}" CPPFLAGS="-D__UCLIBC__" } + +src_compile() { + make MAKEINFO=true DESTDIR="${DESTDIR}" +} + +src_install() { + make MAKEINFO=true DESTDIR="${DESTDIR}" install +} diff --git a/sysa/gcc-4.0.4/pass1.sh b/sysa/gcc-4.0.4/pass1.sh index fdd9ad0..9b8d45c 100755 --- a/sysa/gcc-4.0.4/pass1.sh +++ b/sysa/gcc-4.0.4/pass1.sh @@ -57,7 +57,10 @@ src_prepare() { rm gcc/gengtype-lex.c # Remove translation catalogs - rm gcc/po/*.gmo + find . -name '*.gmo' -delete + + # Pre-build texinfo files + find . -name '*.info' -delete } src_configure() { diff --git a/sysa/gcc-4.0.4/pass2.sh b/sysa/gcc-4.0.4/pass2.sh index 0bfe425..e5429ec 100755 --- a/sysa/gcc-4.0.4/pass2.sh +++ b/sysa/gcc-4.0.4/pass2.sh @@ -56,7 +56,10 @@ src_prepare() { rm gcc/gengtype-lex.c # Remove translation catalogs - rm gcc/po/*.gmo + find . -name '*.gmo' -delete + + # Pre-build texinfo files + find . -name '*.info' -delete } src_configure() { diff --git a/sysa/gmp-6.2.1/gmp-6.2.1.sh b/sysa/gmp-6.2.1/gmp-6.2.1.sh index 68a376d..f1e2ad9 100755 --- a/sysa/gmp-6.2.1/gmp-6.2.1.sh +++ b/sysa/gmp-6.2.1/gmp-6.2.1.sh @@ -9,6 +9,9 @@ src_prepare() { rm demos/calc/calc.{c,h} demos/calc/calclex.c autoreconf -f -i + + # Pre-build texinfo files + find . -name '*.info*' -delete } src_configure() { @@ -19,3 +22,11 @@ src_configure() { --target=i386-unknown-linux-gnu \ --libdir="${PREFIX}/lib/musl" } + +src_compile() { + make MAKEINFO=true DESTDIR="${DESTDIR}" +} + +src_install() { + make MAKEINFO=true DESTDIR="${DESTDIR}" install +}