[Bug 265172] games/libretro-pcsx_rearmed: please fix armv7 build

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 12 Jul 2022 13:57:50 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265172

            Bug ID: 265172
           Summary: games/libretro-pcsx_rearmed: please fix armv7 build
           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: fuz@fuz.su
                CC: dmenelkir@gmail.com
                CC: dmenelkir@gmail.com
             Flags: maintainer-feedback?(dmenelkir@gmail.com)
             Flags: merge-quarterly?

When building games/libretro-pcsx_rearmed for armv7 FreeBSD 13.1,  I get the
following error message:

cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -fPIC
-D_FILE_OFFSET_BITS=64 -Wall -Iinclude -ffast-math -O2 -DNDEBUG
-Ideps/libchdr/deps/zlib-1.2.11 -Ideps/lightning/include -Ideps/lightrec
-Iinclude/lightning -Iinclude/lightrec -DLIGHTREC -DLIGHTREC_STATIC -DGPU_PEOPS
-DTHREAD_RENDERING -Ideps/libchdr/include -Ideps/libchdr/include/libchdr
-Ideps/libchdr/deps/lzma-19.00/include -DHAVE_CHD -D_7ZIP_ST
-Ilibretro-common/include -DFRONTEND_SUPPORTS_RGB565 -DHAVE_LIBRETRO
-DNO_FRONTEND -c -o libpcsxcore/lightrec/plugin.o libpcsxcore/lightrec/plugin.c
libpcsxcore/lightrec/plugin.c:19:2: error: "Lightrec should not be used on ARM
(please specify DYNAREC=ari64 to make)"
#error "Lightrec should not be used on ARM (please specify DYNAREC=ari64 to
make)"
 ^

This is especially funny given that the port is supposedly optimised for ARM. 
Please change the build options so it uses ari64 when building for ARM.

Please MFH the change if possible.

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