diff --git a/science/gromacs/Makefile b/science/gromacs/Makefile index bb661e6ea431..9d48df79ec6e 100644 --- a/science/gromacs/Makefile +++ b/science/gromacs/Makefile @@ -1,5 +1,6 @@ PORTNAME= gromacs DISTVERSION= 2025.3 +PORTREVISION= 1 CATEGORIES= science MASTER_SITES= https://ftp.gromacs.org/pub/gromacs/ DISTFILES= ${DISTNAME}${EXTRACT_SUFX} # only for googletest @@ -17,7 +18,8 @@ BROKEN_i386= undefined reference to `__atomic_load' and `__atomic_compare_exchan BUILD_DEPENDS= boost-libs>=1.44:devel/boost-libs LIB_DEPENDS= liblmfit.so:math/lmfit \ - libmuparser.so:math/muparser + libmuparser.so:math/muparser \ + libtinyxml2.so:textproc/tinyxml2 # TODO tng USES= cmake compiler:c++17-lang pathfix perl5 pkgconfig \ @@ -31,6 +33,7 @@ bash_CMD= ${SH} CMAKE_OFF= GMX_USE_RDTSCP \ USE_PYTHON_SCRIPTS +CMAKE_ON= GMX_EXTERNAL_TINYXML2 CMAKE_ARGS= -DPython_EXECUTABLE=${PYTHON_CMD} \ -DPython3_EXECUTABLE=${PYTHON_CMD} \ -DGMX_USE_MUPARSER=EXTERNAL \ @@ -124,6 +127,8 @@ post-patch: s|LDLIB}/pkgconfig|LDLIB}/../libdata/pkgconfig|' @${REINPLACE_CMD} -e '/CMAKE_REQUIRED_LIBRARIES/d' \ ${WRKSRC}/cmake/gmxTestdlopen.cmake +# Clean up bundled libraries + @${RM} -r ${WRKSRC}/src/external/tinyxml2/ # tests as of 2025.3: 100% tests passed, 0 tests failed out of 92