rekado pushed a commit to branch master
in repository guix.
commit b58c4e7613bc3e3602042dbf340f5116f4cae4bb
Author: zimoun <[email protected]>
AuthorDate: Fri Dec 4 03:06:21 2020 +0100
gnu: r-cytolib: Fix r-rhdf5libs linking.
* gnu/packages/bioconductor.scm (r-cytolib): [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 840f937..ab2595b 100644
--- a/gnu/packages/bioconductor.scm
+++ b/gnu/packages/bioconductor.scm
@@ -6009,6 +6009,17 @@ cluster count and membership by stability evidence in
unsupervised analysis.")
"1wylzps7wbvm64k62w5bbi8l74gaqca96psfapxfg6mcac5yz4qw"))))
(properties `((upstream-name . "cytolib")))
(build-system r-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'fix-linking
+ (lambda _
+ (substitute* "src/Makevars.in"
+ ;; This is to avoid having a plain directory on the list of
+ ;; libraries to link.
+ (("\\(RHDF5_LIBS\\)" match)
+ (string-append match "/libhdf5.a")))
+ #t)))))
(inputs
`(("zlib" ,zlib)))
(native-inputs