From 3c1bb8fdd7a4672e7c33a3a37db85b41ca153ad7 Mon Sep 17 00:00:00 2001 From: Otavio Salvador Date: Sat, 19 Feb 2011 01:43:17 +0000 Subject: [PATCH] python-dbus: update to 0.83.2 and fix rpath to use absolute path In case prefix and exec_prefix are empty, rpath can end up with no absolute paths thus failing to build due a linking issue. Signed-off-by: Otavio Salvador Signed-off-by: Frans Meulenbroeks --- .../{python-dbus_0.83.0.bb => python-dbus_0.83.2.bb} | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) rename recipes/python/{python-dbus_0.83.0.bb => python-dbus_0.83.2.bb} (71%) diff --git a/recipes/python/python-dbus_0.83.0.bb b/recipes/python/python-dbus_0.83.2.bb similarity index 71% rename from recipes/python/python-dbus_0.83.0.bb rename to recipes/python/python-dbus_0.83.2.bb index 9766604a87..7c6eebb4a1 100644 --- a/recipes/python/python-dbus_0.83.0.bb +++ b/recipes/python/python-dbus_0.83.2.bb @@ -3,7 +3,7 @@ SECTION = "devel/python" HOMEPAGE = "http://www.freedesktop.org/Software/dbus" LICENSE = "MIT" DEPENDS = "expat dbus dbus-glib virtual/libintl python-pyrex-native python-epydoc-native" -PR = "ml2" +PR = "ml0" SRC_URI = "http://dbus.freedesktop.org/releases/dbus-python/dbus-python-${PV}.tar.gz" S = "${WORKDIR}/dbus-python-${PV}" @@ -25,5 +25,9 @@ FILES_${PN}-dev += "\ ${libdir}/pkgconfig \ " -SRC_URI[md5sum] = "562c78876219bf458d79a041af18293d" -SRC_URI[sha256sum] = "89dd1d5aa5c2ba04677d1aa2616caa50274d8c08f3d6bc164e6f7b9930776191" +do_configure_append() { + find ${S} -name Makefile | xargs -n 1 sed -i 's,prefix}lib,prefix}/lib,g' +} + +SRC_URI[md5sum] = "4ebcaa905bdcb4132b915196b0a3691b" +SRC_URI[sha256sum] = "883729c98f40790021e3be0f7028ae863ee1c4a7b922a5578c1342592adfff64" -- 2.39.5