The current Makefile says .if ${ARCH} != aarch64 || ${ARCH} != amd64 || !${ARCH:Marmv*} || ${ARCH} != i386 MAKE_ENV+= DESMUME_JIT=0 .endif As you can see, since ARCH can only take one value, this always disables JIT. I think the conditions should be combined with &&, not ||.
Created attachment 234273 [details] v1 I've made the changes and bumped the PORTREVISION. Tested on amd64.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=062f201c5e352d80be1e066f27c28e5d290f8b11 commit 062f201c5e352d80be1e066f27c28e5d290f8b11 Author: Henry Hu <henry.hu.sh@gmail.com> AuthorDate: 2022-10-22 17:55:39 +0000 Commit: Li-Wen Hsu <lwhsu@FreeBSD.org> CommitDate: 2022-10-22 17:56:28 +0000 games/libretro-desmume2015: Fix JIT incorrectly disabled PR: 264137 games/libretro-desmume2015/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)