diff --git a/sysa/autoconf-2.12/autoconf-2.12.sh b/sysa/autoconf-2.12/autoconf-2.12.sh index e955d7f..661cd78 100755 --- a/sysa/autoconf-2.12/autoconf-2.12.sh +++ b/sysa/autoconf-2.12/autoconf-2.12.sh @@ -3,7 +3,8 @@ # SPDX-License-Identifier: GPL-3.0-or-later src_prepare() { - rm configure standards.info + rm configure standards.info autoconf.info + touch autoconf.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 578b494..ff8ab5c 100755 --- a/sysa/autoconf-2.13/autoconf-2.13.sh +++ b/sysa/autoconf-2.13/autoconf-2.13.sh @@ -3,7 +3,8 @@ # SPDX-License-Identifier: GPL-3.0-or-later src_prepare() { - rm configure standards.info + rm configure standards.info autoconf.info + touch autoconf.info autoconf-2.52 sed -i '/^acdatadir/s:$:-2.13:' Makefile.in diff --git a/sysa/autoconf-2.52/stage1.sh b/sysa/autoconf-2.52/stage1.sh index 722d887..0f1599f 100755 --- a/sysa/autoconf-2.52/stage1.sh +++ b/sysa/autoconf-2.52/stage1.sh @@ -3,6 +3,7 @@ # SPDX-License-Identifier: GPL-3.0-or-later src_compile() { + rm doc/standards.info doc/autoconf.info cp autoconf.in autoconf sed -i -e "s# @SHELL@#/bin/sh#" -e 's/@M4@/m4/' -e 's/@AWK@/awk/' \ -e 's/@PACKAGE_NAME@/Autoconf/' -e 's/@VERSION@/2.52/' \ diff --git a/sysa/autoconf-2.52/stage2.sh b/sysa/autoconf-2.52/stage2.sh index 55dc8bc..545886b 100755 --- a/sysa/autoconf-2.52/stage2.sh +++ b/sysa/autoconf-2.52/stage2.sh @@ -3,7 +3,7 @@ # SPDX-License-Identifier: GPL-3.0-or-later src_prepare() { - rm doc/standards.info + rm doc/standards.info doc/autoconf.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 0f2b5f7..4e8301c 100755 --- a/sysa/autoconf-2.53/stage1.sh +++ b/sysa/autoconf-2.53/stage1.sh @@ -5,7 +5,9 @@ src_prepare() { default_src_prepare - rm Makefile.in */Makefile.in */*/Makefile.in aclocal.m4 configure doc/standards.info + rm Makefile.in */Makefile.in */*/Makefile.in aclocal.m4 configure + rm doc/standards.info doc/autoconf.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 c62a0c9..ab34827 100755 --- a/sysa/autoconf-2.53/stage2.sh +++ b/sysa/autoconf-2.53/stage2.sh @@ -3,7 +3,9 @@ # SPDX-License-Identifier: GPL-3.0-or-later src_prepare() { - rm Makefile.in */Makefile.in */*/Makefile.in aclocal.m4 configure doc/standards.info + rm Makefile.in */Makefile.in */*/Makefile.in aclocal.m4 configure + rm doc/standards.info doc/autoconf.info + aclocal-1.6 cat config/m4.m4 >> aclocal.m4 autoconf-2.53 diff --git a/sysa/autoconf-2.54/stage1.sh b/sysa/autoconf-2.54/stage1.sh index d165731..45624e7 100755 --- a/sysa/autoconf-2.54/stage1.sh +++ b/sysa/autoconf-2.54/stage1.sh @@ -5,6 +5,7 @@ src_prepare() { rm bin/autoconf.in rm Makefile.in */Makefile.in */*/Makefile.in aclocal.m4 configure + rm doc/standards.info doc/autoconf.info aclocal-1.7 sed -i 's/2.54/2.53/' aclocal.m4 cat config/m4.m4 >> aclocal.m4 diff --git a/sysa/autoconf-2.54/stage2.sh b/sysa/autoconf-2.54/stage2.sh index e2ab9dd..3c4a977 100755 --- a/sysa/autoconf-2.54/stage2.sh +++ b/sysa/autoconf-2.54/stage2.sh @@ -5,6 +5,7 @@ src_prepare() { rm bin/autoconf.in rm Makefile.in */Makefile.in */*/Makefile.in aclocal.m4 configure + rm doc/standards.info doc/autoconf.info autoreconf-2.54 diff --git a/sysa/autoconf-2.55/autoconf-2.55.sh b/sysa/autoconf-2.55/autoconf-2.55.sh index 4655f8a..7167aaa 100755 --- a/sysa/autoconf-2.55/autoconf-2.55.sh +++ b/sysa/autoconf-2.55/autoconf-2.55.sh @@ -4,7 +4,8 @@ src_prepare() { rm bin/autoconf.in - rm Makefile.in */Makefile.in */*/Makefile.in aclocal.m4 configure doc/standards.info + rm Makefile.in */Makefile.in */*/Makefile.in aclocal.m4 configure + rm doc/standards.info doc/autoconf.info autoreconf-2.54 diff --git a/sysa/automake-1.4-p6/automake-1.4-p6.sh b/sysa/automake-1.4-p6/automake-1.4-p6.sh index 0a44ccb..fe4ffb3 100755 --- a/sysa/automake-1.4-p6/automake-1.4-p6.sh +++ b/sysa/automake-1.4-p6/automake-1.4-p6.sh @@ -3,7 +3,7 @@ # SPDX-License-Identifier: GPL-3.0-or-later src_prepare() { - rm configure Makefile.in */Makefile.in aclocal.m4 + rm configure Makefile.in */Makefile.in aclocal.m4 automake.info* aclocal-1.6 autoconf-2.52 # When building with newer automake we get the following error diff --git a/sysa/automake-1.6.3/stage1.sh b/sysa/automake-1.6.3/stage1.sh index 17f1981..eb78323 100755 --- a/sysa/automake-1.6.3/stage1.sh +++ b/sysa/automake-1.6.3/stage1.sh @@ -3,7 +3,7 @@ # SPDX-License-Identifier: GPL-3.0-or-later src_prepare() { - rm configure Makefile.in */Makefile.in */*/Makefile.in aclocal.m4 + rm configure Makefile.in */Makefile.in */*/Makefile.in aclocal.m4 automake.info* cp aclocal.in aclocal cp m4/amversion.in m4/amversion.m4 } diff --git a/sysa/automake-1.6.3/stage2.sh b/sysa/automake-1.6.3/stage2.sh index 1450863..b1d0f85 100755 --- a/sysa/automake-1.6.3/stage2.sh +++ b/sysa/automake-1.6.3/stage2.sh @@ -5,7 +5,7 @@ src_prepare() { sed -i '/Makefile/d' configure.in - rm configure Makefile.in */Makefile.in */*/Makefile.in aclocal.m4 + rm configure Makefile.in */Makefile.in */*/Makefile.in aclocal.m4 automake.info* aclocal-1.6 autoconf-2.52 } diff --git a/sysa/automake-1.6.3/stage3.sh b/sysa/automake-1.6.3/stage3.sh index 683b9fe..e868e1a 100755 --- a/sysa/automake-1.6.3/stage3.sh +++ b/sysa/automake-1.6.3/stage3.sh @@ -3,7 +3,7 @@ # SPDX-License-Identifier: GPL-3.0-or-later src_prepare() { - rm configure Makefile.in */Makefile.in */*/Makefile.in aclocal.m4 + rm configure Makefile.in */Makefile.in */*/Makefile.in aclocal.m4 automake.info* aclocal-1.6 autoconf-2.52 automake-1.6 diff --git a/sysa/automake-1.7.8/automake-1.7.8.sh b/sysa/automake-1.7.8/automake-1.7.8.sh index 5a1747a..403bbdc 100755 --- a/sysa/automake-1.7.8/automake-1.7.8.sh +++ b/sysa/automake-1.7.8/automake-1.7.8.sh @@ -3,7 +3,7 @@ # SPDX-License-Identifier: GPL-3.0-or-later src_prepare() { - rm configure Makefile.in */Makefile.in */*/Makefile.in aclocal.m4 + rm configure Makefile.in */Makefile.in */*/Makefile.in aclocal.m4 automake.info* autoreconf-2.55 } diff --git a/sysa/automake-1.7/stage1.sh b/sysa/automake-1.7/stage1.sh index 808740b..6acb58a 100755 --- a/sysa/automake-1.7/stage1.sh +++ b/sysa/automake-1.7/stage1.sh @@ -3,7 +3,7 @@ # SPDX-License-Identifier: GPL-3.0-or-later src_prepare() { - rm configure Makefile.in */Makefile.in */*/Makefile.in aclocal.m4 + rm configure Makefile.in */Makefile.in */*/Makefile.in aclocal.m4 automake.info* sed -i -e 's/2.54/2.53/' -e '/AC_PROG_EGREP/d' -e '/AC_PROG_FGREP/d' configure.in aclocal-1.6 autoconf-2.53 diff --git a/sysa/automake-1.7/stage2.sh b/sysa/automake-1.7/stage2.sh index 3fc5f8c..5126456 100755 --- a/sysa/automake-1.7/stage2.sh +++ b/sysa/automake-1.7/stage2.sh @@ -3,7 +3,7 @@ # SPDX-License-Identifier: GPL-3.0-or-later src_prepare() { - rm configure Makefile.in */Makefile.in */*/Makefile.in aclocal.m4 + rm configure Makefile.in */Makefile.in */*/Makefile.in aclocal.m4 automake.info* autoreconf-2.54 } diff --git a/sysa/binutils-2.14/binutils-2.14.sh b/sysa/binutils-2.14/binutils-2.14.sh index 56a27e4..b72b4db 100755 --- a/sysa/binutils-2.14/binutils-2.14.sh +++ b/sysa/binutils-2.14/binutils-2.14.sh @@ -87,6 +87,9 @@ src_prepare() { rm ld/ldlex.c rm gas/itbl-lex.c rm binutils/syslex.c binutils/rclex.c binutils/deflex.c binutils/arlex.c + + # Remove prebuilt texinfo files + rm */*.info* */*/*.info* } src_configure() { @@ -124,12 +127,12 @@ src_configure() { src_compile() { make -C bfd headers for dir in libiberty bfd opcodes binutils gas gprof ld; do - make -C $dir + make -C $dir MAKEINFO=true done } src_install() { for dir in libiberty bfd opcodes binutils gas gprof ld; do - make -C $dir install DESTDIR=$(DESTDIR) + make -C $dir install MAKEINFO=true DESTDIR="${DESTDIR}" done } diff --git a/sysa/help2man-1.36.4/help2man-1.36.4.sh b/sysa/help2man-1.36.4/help2man-1.36.4.sh index 93cb9fc..547f265 100755 --- a/sysa/help2man-1.36.4/help2man-1.36.4.sh +++ b/sysa/help2man-1.36.4/help2man-1.36.4.sh @@ -4,6 +4,9 @@ src_prepare() { autoreconf-2.59 -f + + rm help2man.info + touch help2man.info } src_configure() { @@ -11,7 +14,7 @@ src_configure() { } src_compile() { - make + make MAKEINFO=true # fix a broken shebang tail -n +6 help2man > help2man.tmp @@ -19,3 +22,7 @@ src_compile() { cat help2man.tmp >> help2man rm help2man.tmp } + +src_install() { + make MAKEINFO=true DESTDIR="${DESTDIR}" install +} diff --git a/sysa/libtool-1.4/libtool-1.4.sh b/sysa/libtool-1.4/libtool-1.4.sh index 961e042..4f18468 100755 --- a/sysa/libtool-1.4/libtool-1.4.sh +++ b/sysa/libtool-1.4/libtool-1.4.sh @@ -6,6 +6,8 @@ src_prepare() { default_src_prepare AUTOCONF=autoconf-2.13 AUTOHEADER=autoheader-2.13 ACLOCAL=aclocal-1.4 AUTOMAKE=automake-1.4 ./bootstrap + + rm doc/libtool.info* } src_configure() { @@ -19,5 +21,9 @@ src_configure() { } src_compile() { - AR="tcc -ar" AR_FLAGS="cr" make DESTDIR="${DESTDIR}" + AR="tcc -ar" AR_FLAGS="cr" make MAKEINFO=true +} + +src_install() { + make install MAKEINFO=true DESTDIR="${DESTDIR}" }