packages: avahi: clean up dependencies

libavahi does not require libdaemon nor libgdbm. Move the dependencies
into the right avahi sub-packages to allow smaller footprint when only
using libavahi.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/packages@38470 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
juhosg 2013-10-20 15:58:15 +00:00
parent b806c278bf
commit f3a4ae2b97

View File

@ -60,7 +60,7 @@ define Package/libavahi
$(call Package/avahi/Default)
SECTION:=libs
CATEGORY:=Libraries
DEPENDS:=+libdaemon +libpthread +libgdbm +SSP_SUPPORT:libssp
DEPENDS:=+libpthread +SSP_SUPPORT:libssp
TITLE+= (library)
endef
@ -97,9 +97,9 @@ define Package/avahi-daemon
$(call Package/avahi/Default)
SUBMENU:=IP Addresses and Names
ifeq ($(BUILD_VARIANT),dbus)
DEPENDS:=+libavahi +libexpat +librt +libdbus
DEPENDS:=+libavahi +libexpat +librt +libdaemon +libdbus
else
DEPENDS:=+libavahi +libexpat +librt
DEPENDS:=+libavahi +libexpat +librt +libdaemon
endif
TITLE+= (daemon)
endef
@ -119,7 +119,7 @@ endef
define Package/avahi-dnsconfd
$(call Package/avahi/Default)
SUBMENU:=IP Addresses and Names
DEPENDS:=+libavahi
DEPENDS:=+libavahi +libdaemon
TITLE:=A Unicast DNS server from mDNS/DNS-SD configuration daemon
endef
@ -174,7 +174,7 @@ endef
define Package/avahi-utils
$(call Package/avahi/Default)
SUBMENU:=IP Addresses and Names
DEPENDS:=+libavahi-client
DEPENDS:=+libavahi-client +libgdbm
TITLE+= (utilities)
endef