From 3499586cb22fb2d1941634639435aa627d35c30c Mon Sep 17 00:00:00 2001 From: =?utf8?q?K=C3=A9vin=20THIERRY?= Date: Wed, 20 Aug 2014 14:19:43 +0200 Subject: [PATCH] dbus-python: correct configure error MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- recipes-tizen/dbus-python/dbus-python-extraconf.inc | 7 +++++++ recipes-tizen/dbus-python/dbus-python.inc | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/recipes-tizen/dbus-python/dbus-python-extraconf.inc b/recipes-tizen/dbus-python/dbus-python-extraconf.inc index a01e4e8..7fa1f2b 100644 --- a/recipes-tizen/dbus-python/dbus-python-extraconf.inc +++ b/recipes-tizen/dbus-python/dbus-python-extraconf.inc @@ -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" diff --git a/recipes-tizen/dbus-python/dbus-python.inc b/recipes-tizen/dbus-python/dbus-python.inc index b7ce117..a71b1ed 100644 --- a/recipes-tizen/dbus-python/dbus-python.inc +++ b/recipes-tizen/dbus-python/dbus-python.inc @@ -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 -- 2.7.4