aboutsummaryrefslogtreecommitdiff
path: root/science
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2023-07-14 01:24:29 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2023-07-14 01:26:37 +0000
commit5a94fb755b93760c4f35dc729c68c18add329226 (patch)
tree5cb4c4b0a91b613247107b1e9d01ef601fac74c7 /science
parentc165fd3011c0f508a16c49a5a737ed5d72b36ba6 (diff)
downloadports-5a94fb755b93760c4f35dc729c68c18add329226.tar.gz
ports-5a94fb755b93760c4f35dc729c68c18add329226.zip
Diffstat (limited to 'science')
-rw-r--r--science/libxc/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/science/libxc/Makefile b/science/libxc/Makefile
index 97d3c876ff34..2207601fb62a 100644
--- a/science/libxc/Makefile
+++ b/science/libxc/Makefile
@@ -1,6 +1,6 @@
PORTNAME= libxc
DISTVERSION= 6.0.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= science
MASTER_SITES= https://www.tddft.org/programs/${PORTNAME}/down/${DISTVERSION}/
@@ -18,6 +18,10 @@ TEST_DEPENDS= bash:shells/bash
CMAKE_ON= BUILD_SHARED_LIBS ENABLE_FORTRAN ENABLE_PYTHON
CMAKE_OFF= BUILD_TESTING
+OPTIONS_DEFINE= NATIVE
+
+NATIVE_CMAKE_BOOL= ENABLE_XHOST
+
pre-configure:
${REINPLACE_CMD} -e 's|$${CMAKE_INSTALL_LIBDIR}/pylibxc$$|${PYTHONPREFIX_SITELIBDIR}/pylibxc|' \
-e 's|$${CMAKE_INSTALL_PREFIX}/$${CMAKE_INSTALL_LIBDIR}/pylibxc/|${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/pylibxc/|'\