[Bug 262451] devel/vc: fix port for i386 arch

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 09 Mar 2022 19:43:44 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262451

            Bug ID: 262451
           Summary: devel/vc: fix port for i386 arch
           Product: Ports & Packages
           Version: Latest
          Hardware: i386
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: yuri@freebsd.org
          Reporter: makc@FreeBSD.org
             Flags: maintainer-feedback?(yuri@freebsd.org)
          Assignee: yuri@freebsd.org

Created attachment 232354
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=232354&action=edit
patch

vc library is no-op on i386 right now, e.g. krita fails to build:

https://people.freebsd.org/~makc/logs/krita-5.0.2.log

The reason is that cmake sets CMAKE_SYSTEM_PROCESSOR to i386, while vc demands
i686. This patch relaxes check for cpu type and fixes krita. I'm not sure if
this a proper fix, perhaps the port should force CMAKE_SYSTEM_PROCESSOR to
i686.

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