rekado pushed a commit to branch master
in repository guix.
commit 26cf5eb5686b9a0464fc886f7219c6b9e8f2a889
Author: zimoun <[email protected]>
AuthorDate: Fri Dec 4 03:20:55 2020 +0100
gnu: r-hdf5array: Fix r-rhdf5libs linking.
* gnu/packages/bioconductor.scm (r-hdf5array): [arguments]: Avoid to have a
plain directory on the list of libraries to link.
Co-authored-by: Ricardo Wurmus <[email protected]>.
---
gnu/packages/bioconductor.scm | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/gnu/packages/bioconductor.scm b/gnu/packages/bioconductor.scm
index ab2595b..0989d1b 100644
--- a/gnu/packages/bioconductor.scm
+++ b/gnu/packages/bioconductor.scm
@@ -8609,6 +8609,17 @@ provided.")
"1hr149q03p09y1cjnx8av854j53041wfyq66xpsjw4mypzjf6f28"))))
(properties `((upstream-name . "HDF5Array")))
(build-system r-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'fix-linking
+ (lambda _
+ (substitute* "src/Makevars"
+ ;; This is to avoid having a plain directory on the list of
+ ;; libraries to link.
+ (("\\(RHDF5LIB_LIBS\\)" match)
+ (string-append match "/libhdf5.a")))
+ #t)))))
(inputs
`(("zlib" ,zlib)))
(propagated-inputs