[Bug 271374] emulators/mame-0.254 fails to build on {arm64,amd64,i386}-14-CURRENT

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 27 May 2023 04:16:29 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271374

--- Comment #25 from Alastair Hogge <agh@riseup.net> ---
Created attachment 242434
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=242434&action=edit
mame-0.254-WIP-makefile-maintenance-build-on-current.diff

In an attempt to fix building on 14-CURRENT, I cleaned up the Makefile while
going thru the available options in MAME to explicitly rely on libraries
provided by Ports, and making correct use of gmake variables declared in MAME
for users.

Port Makefile maintenance:
∙ explicitly declare more system libraries
∙ port-{clippy,fmt,lint} maintenance
∙ separate out Qt machine debugger via OPTIONS
∙ remove licenses from ${PORTDOCS} as they are catalogued thru various
${LICENSE}* definitions
∙ add conditional logic for when OS ≧ 14 then explicitly build with LLVM
∙ a lot of the work in the post-patch target is on static files, so move most
of this to files/
∙ files/patch-scripts_genie.lua is a fix for GCC

I do not like the explicit LLVM dependency, however, I do not have anything
better at the moment, sorry.

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