This patch fixes an issue reported by Damiano Albani.
Changeset 32330, while fixing one bug, unfortunately introduces another one -- 
it makes
avahi-daemon always dependent on the dbus package, causing dbus to be
loaded even when it's not needed.

This patch makes avahi-daemon dependent on dbus only is avahi dbus support has 
been selected.

Signed-off-by Mike Brady <mikebr...@eircom.net>

Index: libs/avahi/Makefile
===================================================================
--- libs/avahi/Makefile (revision 33223)
+++ libs/avahi/Makefile (working copy)
@@ -16,7 +16,7 @@
 
 PKG_NAME:=avahi
 PKG_VERSION:=0.6.31
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
@@ -94,7 +94,11 @@
 define Package/avahi-daemon
   $(call Package/avahi/Default)
   SUBMENU:=IP Addresses and Names
+  ifeq ($(BUILD_VARIANT),dbus)
   DEPENDS:=+libavahi +libexpat +librt +libdbus
+  else
+  DEPENDS:=+libavahi +libexpat +librt
+  endif
   TITLE+= (daemon)
 endef
 
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to