summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/automake/automake_1.16.1.bb
diff options
context:
space:
mode:
authorTimothy Pearson <tpearson@raptorengineering.com>2019-04-16 03:26:58 -0500
committerTimothy Pearson <tpearson@raptorengineering.com>2019-04-16 04:14:54 -0500
commitb6b784d8a5c2a56a623f6165a7d2333a226a7f1a (patch)
tree903b976cca4c4ca2edcd17d21d171484534e06f0 /meta/recipes-devtools/automake/automake_1.16.1.bb
parente9c53e1c3004d31e489824beebcff959de5b62dd (diff)
downloadast2050-yocto-poky-b6b784d8a5c2a56a623f6165a7d2333a226a7f1a.zip
ast2050-yocto-poky-b6b784d8a5c2a56a623f6165a7d2333a226a7f1a.tar.gz
Fix autoreconf failure due to automake calling host perl
The host perl and the native perl may not always be compatible Make sure the naive perl is always called when autoreconf and friends are run
Diffstat (limited to 'meta/recipes-devtools/automake/automake_1.16.1.bb')
-rw-r--r--meta/recipes-devtools/automake/automake_1.16.1.bb8
1 files changed, 8 insertions, 0 deletions
diff --git a/meta/recipes-devtools/automake/automake_1.16.1.bb b/meta/recipes-devtools/automake/automake_1.16.1.bb
index 41008d3..fdfaba4 100644
--- a/meta/recipes-devtools/automake/automake_1.16.1.bb
+++ b/meta/recipes-devtools/automake/automake_1.16.1.bb
@@ -38,6 +38,14 @@ CACHED_CONFIGUREVARS += "ac_cv_path_PERL='${PERL}'"
do_install_append () {
install -d ${D}${datadir}
+
+ # Use /usr/bin/env nativeperl for the perl script.
+ for i in aclocal aclocal-${NAMEVER} automake automake-${NAMEVER}; do
+ if [ -f ${D}${bindir}/$i ]; then
+ sed -i -e 's|/usr/bin/env perl|/usr/bin/perl-native/perl|' \
+ ${D}${bindir}/$i
+ fi
+ done
}
BBCLASSEXTEND = "native nativesdk"
OpenPOWER on IntegriCloud