[Bug 286487] devel/libcbor: Need to disable INTERPROCEDURAL_OPTIMIZATION and static option

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 30 Apr 2025 20:50:02 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286487

            Bug ID: 286487
           Summary: devel/libcbor: Need to disable
                    INTERPROCEDURAL_OPTIMIZATION and static option
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: sunpoet@FreeBSD.org
          Reporter: olivier@freebsd.org
             Flags: maintainer-feedback?(sunpoet@FreeBSD.org)
          Assignee: sunpoet@FreeBSD.org

Created attachment 260041
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=260041&action=edit
patch to fix build and add static option

The default way of using libcbor (with static library) is broken since the
0.12.0 upgrade (https://github.com/PJK/libcbor/issues/372)
The ports seems to avoid this bug because it use the shared library mode by
default.

While here, because my use case is to use the upstream default way (.a), adding
port option to build like that.

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