git: cf54cf203368 - main - science/libgridxc: unbreak; add test results
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 19 Sep 2026 22:42:45 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=cf54cf203368081903a1bd47fa45532a30a41f2f
commit cf54cf203368081903a1bd47fa45532a30a41f2f
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2026-09-19 18:48:58 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2026-09-19 22:42:20 +0000
science/libgridxc: unbreak; add test results
---
science/libgridxc/Makefile | 9 +++++----
science/libgridxc/pkg-plist | 2 +-
2 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/science/libgridxc/Makefile b/science/libgridxc/Makefile
index 83aa1de78df2..7db8deff75c4 100644
--- a/science/libgridxc/Makefile
+++ b/science/libgridxc/Makefile
@@ -10,9 +10,7 @@ WWW= https://gitlab.com/siesta-project/libraries/libgridxc
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/COPYING
-BROKEN= uses -lxcf90, removed in libxc-7, upstream claims this and downstream (Siesta) are unmaintained, but this does not appear universally true
-
-USES= cmake fortran pkgconfig
+USES= cmake:testing fortran pkgconfig
USE_LDCONFIG= yes
CMAKE_ON= BUILD_SHARED_LIBS
@@ -24,6 +22,7 @@ OPTIONS_DEFAULT= LIBXC MPICH
OPTIONS_SUB= yes
NOMPI_DESC= Build without parallel processing support
+NOMPI_CMAKE_OFF= -DWITH_MPI=OFF
MPICH_USES= mpi:mpich
MPICH_CMAKE_ON= -DWITH_MPI=ON
@@ -35,7 +34,9 @@ OPENMPI_VARS= FFLAGS+=-fallow-argument-mismatch
LIBXC_DESC= Use libxc for exchange-correlation functionals for DFT
LIBXC_CMAKE_BOOL= WITH_LIBXC
-LIBXC_VARS= FCFLAGS+="-I${LOCALBASE}/include" LDFLAGS+="-L${LOCALBASE}/lib -lxcf90"
+LIBXC_VARS= FCFLAGS+="-I${LOCALBASE}/include"
LIBXC_LIB_DEPENDS= libxc.so:science/libxc
+# tests as of 2.0.3: 100% tests passed, 0 tests failed out of 9
+
.include <bsd.port.mk>
diff --git a/science/libgridxc/pkg-plist b/science/libgridxc/pkg-plist
index 27dcfaea375e..90c257ce7828 100644
--- a/science/libgridxc/pkg-plist
+++ b/science/libgridxc/pkg-plist
@@ -38,5 +38,5 @@ lib/cmake/libgridxc/libgridxc-targets-%%CMAKE_BUILD_TYPE%%.cmake
lib/cmake/libgridxc/libgridxc-targets.cmake
lib/libgridxc.so
lib/libgridxc.so.2
-lib/libgridxc.so.2.0.2
+lib/libgridxc.so.2.0.3
libdata/pkgconfig/libgridxc.pc