git: cb615a168346 - main - editors/libreoffice: warn users about libcxxrt ABI incompatibility

From: Tijl Coosemans <tijl_at_FreeBSD.org>
Date: Thu, 28 Apr 2022 12:05:49 UTC
The branch main has been updated by tijl:

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

commit cb615a168346531cae978670e90a858f233946df
Author:     Tijl Coosemans <tijl@FreeBSD.org>
AuthorDate: 2022-04-28 11:25:44 +0000
Commit:     Tijl Coosemans <tijl@FreeBSD.org>
CommitDate: 2022-04-28 11:58:19 +0000

    editors/libreoffice: warn users about libcxxrt ABI incompatibility
    
    Mark BROKEN on affected versions of FreeBSD main and stable/13 and tell
    users to update FreeBSD first so they have the latest libcxxrt.
    
    PR:             263596
---
 editors/libreoffice/Makefile | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/editors/libreoffice/Makefile b/editors/libreoffice/Makefile
index 20440af97e14..a7069da25a02 100644
--- a/editors/libreoffice/Makefile
+++ b/editors/libreoffice/Makefile
@@ -308,6 +308,13 @@ MAKE_ENV+=	verbose=1
 
 .include <bsd.port.pre.mk>
 
+.if ${OPSYS} == FreeBSD && ( \
+    (${OSVERSION} >= 1300525 && ${OSVERSION} < 1301000) || \
+    (${OSVERSION} >= 1301500 && ${OSVERSION} < 1301502) || \
+    (${OSVERSION} >= 1400051 && ${OSVERSION} < 1400057))
+BROKEN= please update FreeBSD base system first to fix an ABI incompatibility
+.endif
+
 .if ${ARCH:Mpowerpc*}
 EXTRA_PATCHES+=	${FILESDIR}/powerpc64
 .endif