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: Author: pizzamig Date: Mon Jan 22 09:44:43 UTC 2018 New revision: 459641 URL: https://svnweb.freebsd.org/changeset/ports/459641 Log: net-mgmt/collectd5: Fix varnish plugin build PR: 225316 Approved by: maintainer Sponsored by: trivago N.V. Changes: head/net-mgmt/collectd5/Makefile
Committed.