diff options
Diffstat (limited to 'math/cadabra2/Makefile')
-rw-r--r-- | math/cadabra2/Makefile | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/math/cadabra2/Makefile b/math/cadabra2/Makefile index 144d880da1c4..6e5db1d7e7f9 100644 --- a/math/cadabra2/Makefile +++ b/math/cadabra2/Makefile @@ -1,6 +1,6 @@ PORTNAME= cadabra2 DISTVERSION= 2.5.8 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= math MAINTAINER= yuri@FreeBSD.org @@ -10,12 +10,9 @@ 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_system.so:devel/boost-libs \ + libboost_thread.so:devel/boost-libs \ libfontconfig.so:x11-fonts/fontconfig \ libharfbuzz.so:print/harfbuzz \ libpcrecpp.so:devel/pcre \ @@ -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> |