aboutsummaryrefslogtreecommitdiff
path: root/science/abinit
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2022-07-18 12:50:21 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2022-07-18 12:51:25 +0000
commit97c09dc948333ba83e1225a71486200e32585ae9 (patch)
tree47731ab59c9fe9a6346deab0f2275eac3817521b /science/abinit
parent6073d53049b262b45cdcd60cfc351c8e5b9eac50 (diff)
downloadports-97c09dc948333ba83e1225a71486200e32585ae9.tar.gz
ports-97c09dc948333ba83e1225a71486200e32585ae9.zip
science/abinit: Fix build with HDF5 1.12.0+
Diffstat (limited to 'science/abinit')
-rw-r--r--science/abinit/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/science/abinit/Makefile b/science/abinit/Makefile
index 49a68b01c2e0..9ee9180fa889 100644
--- a/science/abinit/Makefile
+++ b/science/abinit/Makefile
@@ -41,6 +41,9 @@ SHEBANG_FILES= config/scripts/* doc/tutorial/paral_gspw_assets/abinit.sub.*
SHEBANG_GLOB= *.py
GNU_CONFIGURE= yes
CONFIGURE_ENV= CC_LDFLAGS="${LDFLAGS}" CXX_LDFLAGS="${LDFLAGS}" FC_LDFLAGS="${LDFLAGS}" \
+ H5CC="${LOCALBASE}/bin/h5cc" \
+ HDF5_CFLAGS="-I${LOCALBASE}/include" \
+ HDF5_LDFLAGS="-L${LOCALBASE}/lib -lhdf5" \
LINALG_FCFLAGS="-I${LOCALBASE}/include/elpa-2019.05.002/modules" \
LINALG_LIBS="${BLASLIB} ${LAPACKLIB} -lelpa" \
NETCDF_FORTRAN_FCFLAGS=-I${LOCALBASE}/include \