git: dd1c307fd52f - 2022Q2 - editors/libreoffice: warn users about libcxxrt ABI incompatibility

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

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

commit dd1c307fd52f0be584aa6eef745d9b1a5159e04e
Author:     Tijl Coosemans <tijl@FreeBSD.org>
AuthorDate: 2022-04-28 11:25:44 +0000
Commit:     Tijl Coosemans <tijl@FreeBSD.org>
CommitDate: 2022-04-28 12:11:26 +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
    (cherry picked from commit cb615a168346531cae978670e90a858f233946df)
---
 editors/libreoffice/Makefile | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/editors/libreoffice/Makefile b/editors/libreoffice/Makefile
index 9d04de9426bf..7f4d00fcc486 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