git: 848b1627ba70 - main - emulators/virtualbox-ose-legacy: Mark BROKEN on 13.1

From: Guido Falsi <madpilot_at_FreeBSD.org>
Date: Mon, 04 Jul 2022 19:38:29 UTC
The branch main has been updated by madpilot:

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

commit 848b1627ba70f72baaf933a7fb6e71460d9e54f1
Author:     Guido Falsi <madpilot@FreeBSD.org>
AuthorDate: 2022-07-04 19:35:11 +0000
Commit:     Guido Falsi <madpilot@FreeBSD.org>
CommitDate: 2022-07-04 19:35:11 +0000

    emulators/virtualbox-ose-legacy: Mark BROKEN on 13.1
    
    The legacy version of virtualbox fails on 13.1 with this error:
    
    error: ran out of registers during register allocation
    
    Mark as broken there too.
    
    Reported by:    VVD (IRC user), diizzy
---
 emulators/virtualbox-ose-legacy/Makefile | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/emulators/virtualbox-ose-legacy/Makefile b/emulators/virtualbox-ose-legacy/Makefile
index a12a9f5e7ccf..1615e6a176b4 100644
--- a/emulators/virtualbox-ose-legacy/Makefile
+++ b/emulators/virtualbox-ose-legacy/Makefile
@@ -206,8 +206,12 @@ KMK_FLAGS+=	-j${MAKE_JOBS_NUMBER}
 
 .include <bsd.port.pre.mk>
 
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400059
+.if ${OPSYS} == FreeBSD
+.if ${OSVERSION} >= 1400059
 BROKEN=		Fails to compile with libc++ 14.0.3
+.elif ${OSVERSION} >= 1301000 && ${OSVERSION} < 1400000
+BROKEN=		Fails to compile: error: ran out of registers during register allocation
+.endif
 .endif
 
 .if ${CHOSEN_COMPILER_TYPE} == clang && ${OPSYS} == FreeBSD && ${OSVERSION} > 1400022