Created attachment 189905 [details]
The fixing patch
Enabling the varnish plugin support, collectd5 fails to build during the configure phase, because the configure script is not able to find varnish headers.
The proposed patch remove the usage of --with-libvarnish=/usr/local that automatically set also CFLAGS=-I/usr/local/include (it should be /usr/local/include/varnish)
In this way, the configure script will use pkgconf that provides the correct value for LDFLAGS and CFLAGS.
Yes, I approve this patch.
A commit references this bug:
Date: Mon Jan 22 09:44:43 UTC 2018
New revision: 459641
net-mgmt/collectd5: Fix varnish plugin build
Approved by: maintainer
Sponsored by: trivago N.V.