mirror of
https://git.yoctoproject.org/poky
synced 2026-04-01 14:02:23 +02:00
Tested with core-image-sato-sdk and lib32-core-image-sato-sdk. This update was done mainly because multilib builds failed on master with this error: | autoreconf: running: aclocal -I /poky/build/tmp/work/x86-pokymllib32-linux/lib32-automake-1.12.1-r0/automake-1.12.1/m4/ -I /poky/build/tmp/sysroots/x86_64-linux/usr/share/aclocal-1.12 -I /poky/build/tmp/work/x86-pokymllib32-linux/lib32-automake-1.12.1-r0/automake-1.12.1/aclocal-copy/ -I /poky/build/tmp/work/x86-pokymllib32-linux/lib32-automake-1.12.1-r0/automake-1.12.1/m4/ -I /poky/build/tmp/sysroots/x86_64-linux/usr/share/aclocal-1.12 -I /poky/build/tmp/work/x86-pokymllib32-linux/lib32-automake-1.12.1-r0/automake-1.12.1/aclocal-copy/ --force --warnings=cross | aclocal: warning: unknown warning category 'cross' | configure.ac:18: error: Autoconf version 2.69 or higher is required (From OE-Core rev: effb75d42098b3e367d393215fd5d52a0191e954) Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
33 lines
1.4 KiB
PHP
33 lines
1.4 KiB
PHP
SUMMARY = "A GNU tool that procude shell scripts to automatically configure software."
|
|
DESCRIPTION = "Autoconf is an extensible package of M4 macros that produce shell scripts to automatically \
|
|
configure software source code packages. Autoconf creates a configuration script for a package from a template \
|
|
file that lists the operating system features that the package can use, in the form of M4 macro calls."
|
|
LICENSE = "GPLv3"
|
|
HOMEPAGE = "http://www.gnu.org/software/autoconf/"
|
|
SECTION = "devel"
|
|
DEPENDS += "m4-native"
|
|
DEPENDS_virtclass-native = "m4-native gnu-config-native"
|
|
DEPENDS_virtclass-nativesdk = "m4-nativesdk gnu-config-nativesdk"
|
|
RDEPENDS_${PN} = "m4 gnu-config"
|
|
RDEPENDS_${PN}_virtclass-native = "m4-native gnu-config-native"
|
|
RDEPENDS_${PN}_virtclass-nativesdk = "m4-nativesdk gnu-config-nativesdk"
|
|
|
|
SRC_URI = "${GNU_MIRROR}/autoconf/autoconf-${PV}.tar.gz \
|
|
file://program_prefix.patch"
|
|
|
|
inherit autotools
|
|
|
|
do_install_append() {
|
|
rm -rf ${D}${datadir}/emacs
|
|
|
|
# Some distros have both /bin/perl and /usr/bin/perl, but we set perl location
|
|
# for target as /usr/bin/perl, so fix it to /usr/bin/perl.
|
|
for i in autoheader autom4te autoreconf autoscan autoupdate ifnames; do
|
|
if [ -f ${D}${bindir}/$i ]; then
|
|
sed -i -e '1s,#!.*perl,#! ${USRBINPATH}/perl,' \
|
|
-e 's,exec .*/bin/perl \(.*\) exec .*/bin/perl \(.*\),exec ${USRBINPATH}/perl \1 exec ${USRBINPATH}/perl \2,' \
|
|
${D}${bindir}/$i
|
|
fi
|
|
done
|
|
}
|