summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorPhil Blundell <philb@gnu.org>2011-06-02 10:15:36 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-06-02 14:53:32 +0100
commitec49721cb01cef56c9275841bd69b74ac9d5ed73 (patch)
tree3eaf26af920279991a9e1f1a4af7840b783ded4b /meta
parentc1357d465a72fb3c0250274eeaaecef773be38d2 (diff)
downloadopenembedded-core-ec49721cb01cef56c9275841bd69b74ac9d5ed73.tar.gz
openembedded-core-ec49721cb01cef56c9275841bd69b74ac9d5ed73.tar.bz2
openembedded-core-ec49721cb01cef56c9275841bd69b74ac9d5ed73.zip
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. Signed-off-by: Phil Blundell <philb@gnu.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-core/dbus/dbus.inc7
1 files changed, 5 insertions, 2 deletions
diff --git a/meta/recipes-core/dbus/dbus.inc b/meta/recipes-core/dbus/dbus.inc
index fb2f6d49bd..5f9a8a3081 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; \