From 63c8afde51b7caec02908293ade3c13780ed37cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bob=20Dr=C3=B6ge?= Date: Tue, 16 Apr 2024 20:51:03 +0200 Subject: [PATCH] add patch for Rhdf5lib --- ...Rhdf5lib-1.20.0_fix_hardcoded_path_to_mv.patch | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 easybuild/easyconfigs/r/R-bundle-Bioconductor/Rhdf5lib-1.20.0_fix_hardcoded_path_to_mv.patch diff --git a/easybuild/easyconfigs/r/R-bundle-Bioconductor/Rhdf5lib-1.20.0_fix_hardcoded_path_to_mv.patch b/easybuild/easyconfigs/r/R-bundle-Bioconductor/Rhdf5lib-1.20.0_fix_hardcoded_path_to_mv.patch new file mode 100644 index 00000000000..856ebae5891 --- /dev/null +++ b/easybuild/easyconfigs/r/R-bundle-Bioconductor/Rhdf5lib-1.20.0_fix_hardcoded_path_to_mv.patch @@ -0,0 +1,15 @@ +Replace the call to /bin/mv by mv in the configure file of the included HDF5 source tarball. +This prevents issues when building with a non-default sysroot. + +Author: Bob Dröge (University of Groningen) +diff -ru Rhdf5lib.orig/src/Makevars.in Rhdf5lib/src/Makevars.in +--- Rhdf5lib.orig/src/Makevars.in 2022-11-01 20:04:33.000000000 +0100 ++++ Rhdf5lib/src/Makevars.in 2024-04-16 20:32:22.028694313 +0200 +@@ -48,6 +48,7 @@ + + build-hdf5: @REQUIRE_SZIP@ @EXTRACT_SOURCE@ + cd hdf5; \ ++ sed -i "s|/bin/mv|mv|" ./configure; \ + ./configure --with-pic --enable-shared=no --enable-cxx --enable-hl \ + --enable-tests=no --enable-tools=no \ + --with-szlib=@SZIP_HOME@ --with-zlib=@ZLIB_HOME@ \