git: fd49aa5fb83d - main - emulators/virtualbox-ose-legacy: Mark as BROKEN on recent head

From: Guido Falsi <madpilot_at_FreeBSD.org>
Date: Tue, 31 May 2022 08:23:57 UTC
The branch main has been updated by madpilot:

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

commit fd49aa5fb83d7503bd96a4e81dcb1d6c1f542815
Author:     Guido Falsi <madpilot@FreeBSD.org>
AuthorDate: 2022-05-31 08:22:29 +0000
Commit:     Guido Falsi <madpilot@FreeBSD.org>
CommitDate: 2022-05-31 08:22:29 +0000

    emulators/virtualbox-ose-legacy: Mark as BROKEN on recent head
    
    Fails to build on recent FreeBSD 14 due to missing symbols errors
    in new libc++
---
 emulators/virtualbox-ose-legacy/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/emulators/virtualbox-ose-legacy/Makefile b/emulators/virtualbox-ose-legacy/Makefile
index b46b7598b161..a12a9f5e7ccf 100644
--- a/emulators/virtualbox-ose-legacy/Makefile
+++ b/emulators/virtualbox-ose-legacy/Makefile
@@ -206,6 +206,10 @@ KMK_FLAGS+=	-j${MAKE_JOBS_NUMBER}
 
 .include <bsd.port.pre.mk>
 
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400059
+BROKEN=		Fails to compile with libc++ 14.0.3
+.endif
+
 .if ${CHOSEN_COMPILER_TYPE} == clang && ${OPSYS} == FreeBSD && ${OSVERSION} > 1400022
 # clang > 11 included in FreeBSD 14 fails to compile this legacy version
 # of virtualbox-ose, force clang 11 on FreeBSD 14 where a newer clang is