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 <mikebrady@eircom.net>
SVN-Revision: 33267
PKG_NAME:=avahi
PKG_VERSION:=0.6.31
-PKG_RELEASE:=2
+PKG_RELEASE:=3
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
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