git: 079a609d10c3 - main - emulators/yuzu: unbreak on FreeBSD 12.4 after 45279a785c71

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Sat, 31 Dec 2022 00:27:48 UTC
The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=079a609d10c39a0e4f75eb7f6e241bd10a081010

commit 079a609d10c39a0e4f75eb7f6e241bd10a081010
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2022-12-30 21:53:36 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2022-12-31 00:26:50 +0000

    emulators/yuzu: unbreak on FreeBSD 12.4 after 45279a785c71
    
    FreeBSD 12.3 needs newer clang/libc++ but statically linking against
    libc++ (a la rpcs3) causes crashes due to ABI mismatch in dependencies.
---
 emulators/yuzu/Makefile | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/emulators/yuzu/Makefile b/emulators/yuzu/Makefile
index 61726d9b1486..7cec3357f302 100644
--- a/emulators/yuzu/Makefile
+++ b/emulators/yuzu/Makefile
@@ -25,7 +25,10 @@ LICENSE_FILE_MIT=	${WRKSRC}/externals/sirit/externals/SPIRV-Headers/LICENSE
 
 ONLY_FOR_ARCHS=	aarch64 amd64
 ONLY_FOR_ARCHS_REASON=	requires int128 and dynarmic backend
-BROKEN_FreeBSD_12=	htonl() in <x86/endian.h> fails -Werror=conversion
+# XXX Drop after FreeBSD 12.3 EOL around 2023-03-01
+.if !exists(/usr/include/c++/v1/concepts)
+BROKEN_FreeBSD_12=	base libc++ is too old
+.endif
 
 BUILD_DEPENDS=	boost-libs>0:devel/boost-libs \
 		nlohmann-json>0:devel/nlohmann-json \