Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Oct 2025 01:16:07 GMT
From:      Dima Panov <fluffy@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 3538bd48ff47 - main - math/cadabra2: fix build with Boost-1.89 (+)
Message-ID:  <202510220116.59M1G7G6077722@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by fluffy:

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

commit 3538bd48ff471941cbbc4b85ad42ad18ecf63e21
Author:     Dima Panov <fluffy@FreeBSD.org>
AuthorDate: 2025-10-22 01:15:04 +0000
Commit:     Dima Panov <fluffy@FreeBSD.org>
CommitDate: 2025-10-22 01:15:04 +0000

    math/cadabra2: fix build with Boost-1.89 (+)
    
    Retire BROKEN statuses, port build is fine on recent 15/16
    
    Reported by:    fallout
---
 math/cadabra2/Makefile | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/math/cadabra2/Makefile b/math/cadabra2/Makefile
index 7c33ecb75de8..6e5db1d7e7f9 100644
--- a/math/cadabra2/Makefile
+++ b/math/cadabra2/Makefile
@@ -10,9 +10,6 @@ WWW=		https://cadabra.science/
 LICENSE=	LGPL3
 LICENSE_FILE=	${WRKSRC}/doc/license.txt
 
-BROKEN=		fails to build with Boost>=1.87
-BROKEN_FreeBSD_15=	compilation fails with clang-17, see https://github.com/kpeeters/cadabra2/issues/285
-
 BUILD_DEPENDS=	${LOCALBASE}/include/websocketpp/client.hpp:devel/websocketpp
 LIB_DEPENDS=	${PY_BOOST} \
 		libboost_thread.so:devel/boost-libs \
@@ -56,4 +53,10 @@ _PY_SONAME=	${PYTHON_TAG}
 post-extract: # unbundle
 	@${RM} -r ${WRKSRC}/libs/jsoncpp ${WRKSRC}/libs/websocketpp
 
+post-patch:
+	@${REINPLACE_CMD} -e '/COMPONENTS/s|system|thread|' \
+		${WRKSRC}/client_server/CMakeLists.txt \
+		${WRKSRC}/frontend/common/CMakeLists.txt \
+		${WRKSRC}/frontend/gtkmm/CMakeLists.txt
+
 .include <bsd.port.mk>


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202510220116.59M1G7G6077722>