python-dbus: update to 0.83.2 and fix rpath to use absolute path
authorOtavio Salvador <otavio@ossystems.com.br>
Sat, 19 Feb 2011 01:43:17 +0000 (01:43 +0000)
committerFrans Meulenbroeks <fransmeulenbroeks@gmail.com>
Sat, 19 Feb 2011 12:56:55 +0000 (13:56 +0100)
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 <otavio@ossystems.com.br>
Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
recipes/python/python-dbus_0.83.2.bb [moved from recipes/python/python-dbus_0.83.0.bb with 71% similarity]

similarity index 71%
rename from recipes/python/python-dbus_0.83.0.bb
rename to recipes/python/python-dbus_0.83.2.bb
index 9766604..7c6eebb 100644 (file)
@@ -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"