gnu: hdf5: Fix paths in hdf5-config.cmake.
Fixes: guix/guix#683
Passing an absolute path to -DHDF5_INSTALL_CMAKE_DIR causes the
variable @PACKAGE_SHARE_INSTALL_DIR@ in
config/install/hdf5-config.cmake.in to expand to a path that includes
${PACKAGE_PREFIX_DIR} twice in the generated hdf5-config.cmake.
* gnu/packages/maths.scm (hdf5) [arguments]
<#:configure-flags>: Change -DHDF5_INSTALL_CMAKE_DIR from absolute
path to relative path.
Change-Id: I0c793ad63a4a3d930a560a5094e08f2384f43b38
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
1 files changed, 1 insertions(+), 1 deletions(-) M gnu/packages/maths.scm
M gnu/packages/maths.scm => gnu/packages/maths.scm +1 -1
@@ 1956,7 1956,7 @@ extremely large and complex data collections.") ;; Some of the users, notably Flann, need the C++ interface. #:configure-flags #~(list (string-append "-DHDF5_INSTALL_CMAKE_DIR=" #$output "/lib/cmake") "-DHDF5_INSTALL_CMAKE_DIR=lib/cmake" "-DHDF5_BUILD_CPP_LIB=ON" "-DHDF5_BUILD_FORTRAN=ON" ;; Build a thread-safe library. Unfortunately, CMakeLists.txt