Created attachment 252700 [details] git patch * Adds support for aarch64 * Sets the configuration to ~/.config/86Box.cfg when running from desktop shortcut * Makes this behavior explicit in pkg-message
Created attachment 252701 [details] git patch re-uploading the patch, as something went wrong before...
Don't add anything after .include <bsd.port.mk> Use this: .include <bsd.port.pre.mk> .if ${ARCH} == "aarch64" CMAKE_ON+= NEW_DYNAREC .endif .include <bsd.port.post.mk> And remove .include <bsd.port.mk> But in your case better use: CMAKE_ON+= ${CMAKE_ON_${ARCH}} CMAKE_ON_aarch64= NEW_DYNAREC After ".endif" and before SUB_FILES.
Created attachment 252704 [details] git patch I see - your proposal is much much cleaner than what I wrote before. New patch reflects these changes. Thanks!
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=465c31f9b51d509db686cd8dffca54b498839a04 commit 465c31f9b51d509db686cd8dffca54b498839a04 Author: gatekeeper <tiago.gasiba@gmail.com> AuthorDate: 2024-08-12 13:49:40 +0000 Commit: Vladimir Druzenko <vvd@FreeBSD.org> CommitDate: 2024-08-12 13:50:52 +0000 emulators/86Box: add support for aarch64 and improvements to configuration file * Add support for aarch64 * Set the configuration to ~/.config/86Box.cfg when running from desktop shortcut * Make this behavior explicit in pkg-message PR: 280764 emulators/86Box/Makefile | 9 ++++++--- emulators/86Box/pkg-message | 9 ++++++--- 2 files changed, 12 insertions(+), 6 deletions(-)
Thanks.