gnu: r-rhdf5lib: Adjust modifications to Makevars.

* gnu/packages/bioconductor.scm (r-rhdf5lib)[arguments]: Adjust patch.

Change-Id: Iaef3d2d80c22de1c2a0b64e7c13f5fa3b8e5719d
This commit is contained in:
Ricardo Wurmus 2023-11-03 18:51:35 +01:00
parent c82c9c8090
commit a938342899
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC

View File

@ -20569,8 +20569,6 @@ block processing.")
(substitute* "Makevars"
(("@BUILD_HDF5@") "")
(("@COPY_SZIP@") "")
(("@ZLIB_LIB@") "-lz")
(("@ZLIB_INCLUDE@") "")
(("HDF5_CXX_LIB=.*")
(string-append "HDF5_CXX_LIB="
(assoc-ref inputs "hdf5") "/lib/libhdf5_cpp.a\n"))
@ -20587,6 +20585,9 @@ block processing.")
(("HDF5_HL_CXX_LIB=.*")
(string-append "HDF5_HL_CXX_LIB="
(assoc-ref inputs "hdf5") "/lib/libhdf5_hl_cpp.a\n"))
(("@ZLIB_LIB_PATH@") "-lz")
(("@ZLIB_INCLUDE_PATH@") "")
;; szip is non-free software
(("cp \"\\$\\{SZIP_LIB\\}.*") "")
(("PKG_LIBS =.*") "PKG_LIBS = -lz -lhdf5\n"))))))))