parent
a301e6fe86
commit
7cd79d1c72
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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/' \
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
|
@ -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}"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue