diff options
Diffstat (limited to 'science/dakota/Makefile')
-rw-r--r-- | science/dakota/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
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.cmake |