[Bug 259345] net/openldap24-client fails on systems WITHOUT_KERBEROS when FETCH is on

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 21 Oct 2021 16:13:49 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259345

            Bug ID: 259345
           Summary: net/openldap24-client fails on systems
                    WITHOUT_KERBEROS when FETCH is on
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: delphij@FreeBSD.org
          Reporter: mi@FreeBSD.org
          Assignee: delphij@FreeBSD.org
             Flags: maintainer-feedback?(delphij@FreeBSD.org)

Enabling use of fetch(3) -- a perfectly sensible thing to do (why is it not on
by default?) -- fails on systems built WITHOUT_KERBEROS.

Because upstream configure unconditionally adds -lcom_err together with
-lfetch.

But libcom_err.{a,so} are only available, if the world is built with Kerberos
enabled. This causes configure-script to fail...

A brutal hack would simply remove all mentions of -lcom_err from
${WRKSRC}/configure at the post-patch time -- using ${REINPLACE_CMD}.

Something better may be required for upstream acceptance...

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