Skip to contentSkip to conversation

collectd: fix libvirt PACKAGECONFIG

PATCH New Martin Jansa 1 participant 1 message Jun 15, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 collectd: fix libvirt PACKAGECONFIG

* fixes:
ERROR: collectd-5.8.0-r0 do_configure: QA Issue: collectd: configure was passed unrecognised options: --disable-libvirt [unknown-configure-option]
* the PACKAGECONFIG in meta-oe was introduced long time ago:

commit 5fbe2ac4e8ff67707b907c736966ee3d3357fd0d
Author: Wenzong Fan <[email protected]>
Date:Tue Dec 23 16:55:50 2014 +0800

collectd: add PACKAGECONFIG for libvirt, libesmtp

Add PACKAGECONFIG for libvirt, libesmtp to fix below warnings:

and at that time in 5.4.1 there was libvirt (renamed from libvirtstats) option, since this commit:
https://github.com/collectd/collectd/commit/553376a3a6c63875c84b406962e56b908dc4e675

but then in 5.5.0 it was renamed again to just virt:
https://github.com/collectd/collectd/commit/62f948605f54e1f5575699360376d75a2f849faf

---
 meta-oe/recipes-extended/collectd/collectd_5.8.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-extended/collectd/collectd_5.8.0.bb +1 -1
index 92b619e227..df9fa233cd 100644
@@ -43,7 +43,7 @@ PACKAGECONFIG[amqp] = "--enable-amqp --with-librabbitmq=yes, \
         --disable-amqp --with-librabbitmq=no,rabbitmq-c"
 # protobuf-c, libvirt that are currently only available in meta-virtualization layer
 PACKAGECONFIG[pinba] = "--enable-pinba,--disable-pinba,protobuf-c-native protobuf-c"
-PACKAGECONFIG[libvirt] = "--enable-libvirt,--disable-libvirt,libvirt"
+PACKAGECONFIG[libvirt] = "--enable-virt,--disable-virt,libvirt"
 PACKAGECONFIG[libesmtp] = "--with-libesmtp,--without-libesmtp,libesmtp"
 PACKAGECONFIG[libmnl] = "--with-libmnl,--without-libmnl,libmnl"
 PACKAGECONFIG[libatasmart] = "--with-libatasmart,--without-libatasmart,libatasmart"
Signature · 1 line
2.17.1