package/collectd: needs host-bison
authorPeter Seiderer <ps.report@gmx.net>
Thu, 3 Oct 2019 15:29:22 +0000 (17:29 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 5 Oct 2019 21:20:05 +0000 (23:20 +0200)
Since 5.9.1 the file src/liboconfig/parser.c is missing from the
tar download file, triggering the need for host-bison.

Fixes [1]:

  configure: error: bison is missing and you do not have ./src/liboconfig/parser.c. Please install bison

[1] http://autobuild.buildroot.net/results/4e6f3e5fd0e64f166ae4f7db4832b37ae1fa99e0

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/collectd/collectd.mk

index 1681d556b6d66f60715421dfc6459a6f81091a6b..2f60b4561e3a43eb9792e4c4e0744bc22f00d549 100644 (file)
@@ -143,7 +143,10 @@ COLLECTD_CONF_OPTS += \
        $(if $(BR2_PACKAGE_COLLECTD_WRITETSDB),--enable-write_tsdb,--disable-write_tsdb) \
        $(if $(BR2_PACKAGE_COLLECTD_ZOOKEEPER),--enable-zookeeper,--disable-zookeeper)
 
+# since 5.9.1 the file src/liboconfig/parser.c is missing from the tar
+# download file, triggering the need for host-bison
 COLLECTD_DEPENDENCIES = \
+       host-bison \
        host-pkgconf \
        $(if $(BR2_PACKAGE_COLLECTD_AMQP),rabbitmq-c) \
        $(if $(BR2_PACKAGE_COLLECTD_APACHE),libcurl) \