git: 64002cb040cb - main - science/py-tweedledum: Fix build on 14 by using gcc there

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sun, 18 Jun 2023 17:56:53 UTC
The branch main has been updated by yuri:

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

commit 64002cb040cb383b84d26d3ee0bdb93962995b16
Author:     wen heping <wenheping2000@hotmail.com>
AuthorDate: 2023-06-18 17:44:45 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-06-18 17:56:46 +0000

    science/py-tweedledum: Fix build on 14 by using gcc there
---
 science/py-tweedledum/Makefile | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/science/py-tweedledum/Makefile b/science/py-tweedledum/Makefile
index fd9056f6e9d1..d63650102ffd 100644
--- a/science/py-tweedledum/Makefile
+++ b/science/py-tweedledum/Makefile
@@ -11,7 +11,7 @@ WWW=		https://github.com/boschmitt/tweedledum
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BROKEN_FreeBSD_14=	clang crashes, see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265751
+#BROKEN_FreeBSD_14=	clang crashes, see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265751
 
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}scikit-build>0:devel/py-scikit-build@${PY_FLAVOR} \
 		cmake:devel/cmake-core
@@ -22,4 +22,9 @@ USE_PYTHON=	distutils autoplist pytest # tests fail to run, see https://github.c
 USE_GITHUB=	yes
 GH_ACCOUNT=	boschmitt
 
+.include <bsd.port.options.mk>
+.if ${OPSYS} == FreeBSD && ${OSVERSION} > 1400000
+USE_GCC=	yes
+.endif
+
 .include <bsd.port.mk>