dbus-python: correct configure error 15/26315/1
authorKévin THIERRY <kevin.thierry@open.eurogiciel.org>
Wed, 20 Aug 2014 12:19:43 +0000 (14:19 +0200)
committerKévin THIERRY <kevin.thierry@open.eurogiciel.org>
Wed, 20 Aug 2014 12:19:43 +0000 (14:19 +0200)
Export some environment variables. I don't know why this is necessary
now and not before. It only appears in python related packages. Anyway
exporting some environment variable (that should already exported)
doesn't hurt and solve the issue.

Also update the recipe.

Change-Id: Ia3be8570966d49ecc35e75b9b0444538b847d89b
Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>
recipes-tizen/dbus-python/dbus-python-extraconf.inc
recipes-tizen/dbus-python/dbus-python.inc

index a01e4e8..7fa1f2b 100644 (file)
@@ -1,3 +1,10 @@
+do_compile_prepend() {
+    export BUILD_SYS=${BUILD_SYS}
+    export HOST_SYS=${HOST_SYS}
+    export STAGING_LIBDIR=${STAGING_LIBDIR}
+    export STAGING_INCDIR=${STAGING_INCDIR}
+}
+
 FILES_${PN}-dbg += "${prefix}/lib/python2.7/site-packages/.debug"
 
 FILES_${PN} += "/usr/share"
index b7ce117..a71b1ed 100644 (file)
@@ -71,7 +71,7 @@ do_compile() {
 EXTRA_OECONF += " --docdir=${prefix}/share/doc/packages/dbus-python"
 
 do_install() {
- echo export RPM_BUILD_ROOT=${D}
+ export RPM_BUILD_ROOT=${D}
  cd ${S}
  LANG=C
  export LANG