[oe-commits] Philip Balister : autoconf : Fix autoconf running on target.

git version control git at git.openembedded.org
Mon Dec 13 21:43:47 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 2fb096e8be715a2ab824e63cf36d811af8ae415b
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=2fb096e8be715a2ab824e63cf36d811af8ae415b

Author: Philip Balister <philip at balister.org>
Date:   Mon Dec 13 16:39:55 2010 -0500

autoconf : Fix autoconf running on target.

Acked-by: Koen Kooi <koen at openembedded.org>

---

 recipes/autoconf/autoconf.inc |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/recipes/autoconf/autoconf.inc b/recipes/autoconf/autoconf.inc
index 0555d51..b7350ec 100644
--- a/recipes/autoconf/autoconf.inc
+++ b/recipes/autoconf/autoconf.inc
@@ -8,7 +8,7 @@ RDEPENDS_${PN} = "m4 perl gnu-config"
 DEPENDS_virtclass-native = "m4-native gnu-config-native"
 RDEPENDS_${PN}_virtclass-native = "m4-native gnu-config-native"
 
-INC_PR = "r11"
+INC_PR = "r12"
 
 SRC_URI = "${GNU_MIRROR}/autoconf/autoconf-${PV}.tar.bz2;name=autoconf \
 	   file://program_prefix.patch"
@@ -32,5 +32,10 @@ do_compile () {
 	oe_runmake
 }
 
+do_install_append() {
+	# replace paths to STAGING_BINDIR_NATIVE/perl with ${bindir}/perl
+	sed -i -e s:${STAGING_BINDIR_NATIVE}:${bindir}:g ${D}${bindir}/*
+}
+
 PARALLEL_MAKE = ""
 BBCLASSEXTEND = "native"





More information about the Openembedded-commits mailing list