[Bug 268032] net-mgmt/zabbix62-agent: Build broken by latest update to server

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 28 Nov 2022 07:10:52 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268032

            Bug ID: 268032
           Summary: net-mgmt/zabbix62-agent: Build broken by latest update
                    to server
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: otis@FreeBSD.org
          Reporter: chris@chrullrich.net
          Assignee: otis@FreeBSD.org
             Flags: maintainer-feedback?(otis@FreeBSD.org)

Bug #267957 added support for pcre2 to the Zabbix 6 and 6.2 ports. This update
broke the build of the Zabbix agent ports in both versions; they fail in
configure because libpcre is not installed.

This in turn is because while the Zabbix ports previously had an unconditional
dependency on devel/pcre, the update changed this to a dependency on either
devel/pcre or devel/pcre2 depending on the PCRE1/PCRE2 options.

While this works for the server and proxy ports, the agent port breaks because
it cannot see the new option set, which is declared in
net-mgmt/zabbix62-server/Makefile within

    .if ${ZABBIX_BUILD} != "agent" && ${ZABBIX_BUILD} != "java"

.

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