collectd: fix dependencies for bind plugin
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Sat, 2 Jun 2012 04:37:13 +0000 (04:37 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Tue, 5 Jun 2012 14:36:28 +0000 (16:36 +0200)
The bind plugin requires libcurl and libxml2.
These are properly selected but never added to COLLECTD_DEPENDENCIES.
Fix that.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/collectd/collectd.mk

index 0109f77b50b82955aa021d91f6a2ca71b0b41792..440450998c41d43838a1f2e8f1908a18ee430018 100644 (file)
@@ -87,6 +87,7 @@ COLLECTD_CONF_OPT += --with-nan-emulation --with-fp-layout=nothing \
 
 COLLECTD_DEPENDENCIES = host-pkg-config \
        $(if $(BR2_PACKAGE_COLLECTD_APACHE),libcurl) \
+       $(if $(BR2_PACKAGE_COLLECTD_BIND),libcurl libxml2) \
        $(if $(BR2_PACKAGE_COLLECTD_CURL),libcurl) \
        $(if $(BR2_PACKAGE_COLLECTD_CURL_JSON),libcurl yajl) \
        $(if $(BR2_PACKAGE_COLLECTD_CURL_XML),libcurl libxml2) \