autoconf : Fix autoconf running on target.
authorPhilip Balister <philip@balister.org>
Mon, 13 Dec 2010 21:39:55 +0000 (16:39 -0500)
committerPhilip Balister <philip@balister.org>
Mon, 13 Dec 2010 21:42:42 +0000 (16:42 -0500)
Acked-by: Koen Kooi <koen@openembedded.org>
recipes/autoconf/autoconf.inc

index 0555d51..b7350ec 100644 (file)
@@ -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"