git: 97c09dc94833 - main - science/abinit: Fix build with HDF5 1.12.0+
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 18 Jul 2022 12:51:59 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=97c09dc948333ba83e1225a71486200e32585ae9 commit 97c09dc948333ba83e1225a71486200e32585ae9 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2022-07-18 12:50:21 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2022-07-18 12:51:25 +0000 science/abinit: Fix build with HDF5 1.12.0+ --- science/abinit/Makefile | 3 +++ 1 file changed, 3 insertions(+) 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 \