[packages] avahi: remove inappropriate dependency on dbus in Changeset 32330
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> git-svn-id: svn://svn.openwrt.org/openwrt/packages@33267 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
66d6aaf14c
commit
03bae51978
@ -16,7 +16,7 @@ endif
|
|||||||
|
|
||||||
PKG_NAME:=avahi
|
PKG_NAME:=avahi
|
||||||
PKG_VERSION:=0.6.31
|
PKG_VERSION:=0.6.31
|
||||||
PKG_RELEASE:=2
|
PKG_RELEASE:=3
|
||||||
|
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
@ -94,7 +94,11 @@ endef
|
|||||||
define Package/avahi-daemon
|
define Package/avahi-daemon
|
||||||
$(call Package/avahi/Default)
|
$(call Package/avahi/Default)
|
||||||
SUBMENU:=IP Addresses and Names
|
SUBMENU:=IP Addresses and Names
|
||||||
|
ifeq ($(BUILD_VARIANT),dbus)
|
||||||
DEPENDS:=+libavahi +libexpat +librt +libdbus
|
DEPENDS:=+libavahi +libexpat +librt +libdbus
|
||||||
|
else
|
||||||
|
DEPENDS:=+libavahi +libexpat +librt
|
||||||
|
endif
|
||||||
TITLE+= (daemon)
|
TITLE+= (daemon)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user