summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJake Forster <jakecameron.forster@gmail.com>2025-06-26 19:47:20 +0930
committerLudovic Courtès <ludo@gnu.org>2025-06-26 15:37:47 +0200
commit53b23512ee32b92ae6376ea80e9e1f56aeaf0ce0 (patch)
tree1db61d134013468f9df4b4b64985ac0d4a8fe65c
parent09a82860e4d85b127ca25fc21e58b188588f3838 (diff)
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>
-rw-r--r--gnu/packages/maths.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 4c19bcfded..dbfe662ba5 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -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