Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 May 2026 04:57:24 +0000
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 8d6bf84c16c5 - main - science/gromacs: Use tinyxml2 from ports tree
Message-ID:  <6a152834.3b238.7f70997b@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8d6bf84c16c554211bc815995834fbbba0e1dedb

commit 8d6bf84c16c554211bc815995834fbbba0e1dedb
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2026-05-26 04:56:08 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2026-05-26 04:56:08 +0000

    science/gromacs: Use tinyxml2 from ports tree
    
    - Bump PORTREVISION for dependency and package change
    
    PR:             295147
    Approved by:    maintainer (timeout, 16 days)
---
 science/gromacs/Makefile | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/science/gromacs/Makefile b/science/gromacs/Makefile
index 5a11298dcab1..09720a9e68d6 100644
--- a/science/gromacs/Makefile
+++ b/science/gromacs/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	gromacs
 DISTVERSION=	2026.2
+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 2026.2: 100% tests passed, 0 tests failed out of 104
 


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a152834.3b238.7f70997b>