[Bug 225316] net-mgmt/collectd5: Fix varnish plugin build

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Jan 19 14:20:43 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225316

            Bug ID: 225316
           Summary: net-mgmt/collectd5: Fix varnish plugin build
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: easy, patch
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs at FreeBSD.org
          Reporter: pizzamig at freebsd.org
                CC: ports at bsdserwis.com
             Flags: maintainer-feedback?(ports at bsdserwis.com)
                CC: ports at bsdserwis.com

Created attachment 189905
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=189905&action=edit
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.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list