From: Phil Blundell Date: Thu, 2 Jun 2011 09:15:36 +0000 (+0100) Subject: dbus: avoid dependency on x11 for -native build X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b3ca61b45f71897401983bf048dbd0430fea04bd;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git dbus: avoid dependency on x11 for -native build The native variant already configures --without-x so the X11 libs are redundant. Adjust the DEPENDS to match. (From OE-Core rev: ec49721cb01cef56c9275841bd69b74ac9d5ed73) Signed-off-by: Phil Blundell Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-core/dbus/dbus.inc b/meta/recipes-core/dbus/dbus.inc index fb2f6d49bdc..5f9a8a30818 100644 --- a/meta/recipes-core/dbus/dbus.inc +++ b/meta/recipes-core/dbus/dbus.inc @@ -5,8 +5,11 @@ SECTION = "base" LICENSE = "AFL-2 | GPLv2+" LIC_FILES_CHKSUM = "file://COPYING;md5=10dded3b58148f3f1fd804b26354af3e \ file://dbus/dbus.h;firstline=6;endline=20;md5=6eea2e0c7750dd8e620dcb1437312fa5" -DEPENDS = "expat virtual/libintl virtual/libx11 libsm" -DEPENDS_virtclass-nativesdk = "expat virtual/libintl virtual/libx11" +x11deps = "virtual/libx11 libsm" +basedeps = "expat virtual/libintl" +DEPENDS = "${basedeps} ${x11deps}" +DEPENDS_virtclass-native = "${basedeps}" +DEPENDS_virtclass-nativesdk = "${basedeps} virtual/libx11" SRC_URI = "http://dbus.freedesktop.org/releases/dbus/dbus-${PV}.tar.gz \ file://tmpdir.patch; \