gpsd: dbus interface requires dbus-glib
authorArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Sun, 4 Mar 2012 23:16:08 +0000 (00:16 +0100)
committerPeter Korsgaard <jacmet@sunsite.dk>
Tue, 6 Mar 2012 22:05:46 +0000 (23:05 +0100)
gpsd uses dbus-glib as the dbus interface, so it should only be built if
libglib2 has been selected.  To simplify things, build dbus support only
if dbus-glib is selected.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/gpsd/Config.in
package/gpsd/gpsd.mk

index d387abdd91672bf5c9e2a7391d9847bb9e9bacfe..16635dc0dbfaa8d5ea0732fe3fca81b1cdef6606 100644 (file)
@@ -8,6 +8,8 @@ config BR2_PACKAGE_GPSD
          making all data on the location/course/velocity of the sensors
          available to be queried on TCP port 2947 of the host computer.
 
+         The D-Bus interface is included if dbus-glib is enabled.
+
          http://gpsd.berlios.de/
 
 config BR2_PACKAGE_GPSD_DEVICES
index be6daeb8adbd3a4599338955cec6bd6719fcfa96..94f39aaa6a05321c96e7c7cfd91ab8ca68d33633 100644 (file)
@@ -30,9 +30,9 @@ ifeq ($(BR2_PACKAGE_LIBUSB),y)
        GPSD_DEPENDENCIES += libusb
 endif
 
-ifeq ($(strip $(BR2_PACKAGE_DBUS)),y)
+ifeq ($(BR2_PACKAGE_DBUS_GLIB),y)
        GPSD_CONF_OPT += --enable-dbus
-       GPSD_DEPENDENCIES += dbus dbus-glib
+       GPSD_DEPENDENCIES += dbus-glib
 endif
 
 ifeq ($(BR2_PACKAGE_NCURSES),y)