diff options
Diffstat (limited to 'recipes/dbus/dbus.inc')
-rw-r--r-- | recipes/dbus/dbus.inc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/recipes/dbus/dbus.inc b/recipes/dbus/dbus.inc index 73fc426933..86dc62b945 100644 --- a/recipes/dbus/dbus.inc +++ b/recipes/dbus/dbus.inc @@ -4,7 +4,7 @@ SECTION = "base" LICENSE = "GPLv2+ AFLv2.1" DEPENDS = "expat glib-2.0 virtual/libintl libsm libice virtual/libx11" -INC_PR = "r19" +INC_PR = "r20" SRC_URI = "\ http://dbus.freedesktop.org/releases/dbus/dbus-${PV}.tar.gz;name=dbus \ @@ -52,6 +52,11 @@ do_install_append() { install -d ${D}${libexecdir}/ install -m 0755 bus/.libs/dbus-daemon-launch-helper ${D}${libexecdir}/ fi + + # Handle case where prefix is empty + if [ -z "$prefix" ]; then + sed -i 's,/usr,,g' ${D}${sysconfdir}/init.d/dbus-1 + fi } RDEPENDS_${PN}-x11 = "${PN}" |