[Bug 270531] devel/p4, devel/p4api: fix arm builds

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 30 Mar 2023 00:09:40 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270531

            Bug ID: 270531
           Summary: devel/p4, devel/p4api: fix arm builds
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: antonfb@hesiod.org
 Attachment #241196 text/plain
         mime type:

Created attachment 241196
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=241196&action=edit
patch diff to disable arm optimization

arm builds on several OS versions are failing.

Seems like there is some missing special arm optimization code in the Perforce
distribution and that code special cases to turn it off.

Add OS_FREEBSD to disable arm optimization.

Add the attached patch file to the files directory of both ports (devel/p4 and
devel/p4api) to fix the arm builds.

FYI: I'm the maintainer.

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