guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

208/323: gnu: r-cytolib: Fix r-rhdf5libs linking.


From: guix-commits
Subject: 208/323: gnu: r-cytolib: Fix r-rhdf5libs linking.
Date: Wed, 9 Dec 2020 06:47:23 -0500 (EST)

rekado pushed a commit to branch master
in repository guix.

commit b58c4e7613bc3e3602042dbf340f5116f4cae4bb
Author: zimoun <zimon.toutoune@gmail.com>
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 <reka@elephly.net>.
---
 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]