libart-lgpl.inc: Build fix.
authorRobert Schuster <thebohemian@gmx.net>
Thu, 19 Mar 2009 21:07:20 +0000 (22:07 +0100)
committerRobert Schuster <thebohemian@gmx.net>
Thu, 19 Mar 2009 23:55:22 +0000 (00:55 +0100)
 - enforce 'mkdir' executable location
 - add install-native to depends
 - enforce 'install' executable location

recipes/gnome/libart-lgpl.inc

index a37b392..710656b 100644 (file)
@@ -11,7 +11,7 @@ SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/libart_lgpl/2.3/libart_lgpl-${
 
 inherit autotools pkgconfig
 
-DEPENDS = ""
+DEPENDS = "install-native"
 
 FILES_${PN} = "${libdir}/*.so.*"
 FILES_${PN}-dev += "${bindir}/libart2-config"
@@ -24,6 +24,13 @@ do_configure_prepend() {
 
 EXTRA_OECONF = "--disable-gtk-doc"
 
+# With automake-native 1.10.2 the configure and m4 scripts are confused
+# and detect the following stuff wrong. Correct programs are hereby
+# enforced.
+export MKDIR_P = "mkdir -p"
+export mkdir_p = "mkdir -p"
+export INSTALL = "${STAGING_BINDIR_NATIVE}/install-sh"
+
 do_stage() {
        autotools_stage_includes
        oe_libinstall -a -so libart_lgpl_2 ${STAGING_LIBDIR}