Date: Tue, 30 Sep 2025 14:40:32 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: 80cf9054e66e - main - science/dakota: prepare for Boost-1.89, do not link with stub Boost::system (+) Message-ID: <202509301440.58UEeWx1061943@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=80cf9054e66ef6d57dc8a74e7aca24239cc091fd commit 80cf9054e66ef6d57dc8a74e7aca24239cc091fd Author: Dima Panov <fluffy@FreeBSD.org> AuthorDate: 2025-09-30 14:39:56 +0000 Commit: Dima Panov <fluffy@FreeBSD.org> CommitDate: 2025-09-30 14:40:28 +0000 science/dakota: prepare for Boost-1.89, do not link with stub Boost::system (+) Get rid of overlinking on empty stub library Boost::system, it is header-only since boost-1.70 With hat: office/boost --- science/dakota/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/science/dakota/Makefile b/science/dakota/Makefile index 96e46b04e23b..059d349e1323 100644 --- a/science/dakota/Makefile +++ b/science/dakota/Makefile @@ -1,5 +1,6 @@ PORTNAME= dakota DISTVERSION= 6.22.0 +PORTEVISION= 1 CATEGORIES= science MASTER_SITES= https://github.com/snl-dakota/dakota/releases/download/v${DISTVERSION}/ DISTNAME= ${PORTNAME}-${DISTVERSION}-public-src-cli @@ -15,7 +16,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= nanoflann>0:math/nanoflann LIB_DEPENDS= libblas.so:math/blas \ - libboost_system.so:devel/boost-libs \ + libboost_program_options.so:devel/boost-libs \ libexpat.so:textproc/expat2 \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ @@ -74,6 +75,11 @@ post-extract: @${FIND} ${WRKSRC} -name "*.orig" -delete @${ECHO} ${DISTVERSION} > ${WRKSRC}/VERSION # expected by the 'install' target +post-patch: + @${REINPLACE_CMD} -e 's| Boost::system||' \ + ${WRKSRC}/cmake/DakotaFindSystemTPLs.cmake \ + ${WRKSRC}/src/surrogates/unit/CMakeLists.txt + pre-configure: # MUQ_STANMATH_DIR is lost otherwise @${REINPLACE_CMD} 's|find_package(PkgConfig)|set(MUQ_STANMATH_DIR ${WRKSRC}/stanmath)|' ${WRKSRC}/packages/external/muq2/cmake/finds/FindSTANMATH.cmakehome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202509301440.58UEeWx1061943>
