guix-commits
[Top][All Lists]
Advanced

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

210/323: gnu: r-flowworkspace: Fix r-rhdf5libs linking.


From: guix-commits
Subject: 210/323: gnu: r-flowworkspace: Fix r-rhdf5libs linking.
Date: Mon, 7 Dec 2020 15:13:50 -0500 (EST)

rekado pushed a commit to branch wip-r
in repository guix.

commit 87e9fb05ace0d26eb29cfbc2aa33a4221b321f67
Author: zimoun <zimon.toutoune@gmail.com>
AuthorDate: Fri Dec 4 04:55:45 2020 +0100

    gnu: r-flowworkspace: Fix r-rhdf5libs linking.
    
    * gnu/packages/bioconductor.scm (r-flowworkspace): [arguments]: Avoid to 
have
    a plain directory on the list of libraries to link.
---
 gnu/packages/bioconductor.scm | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/gnu/packages/bioconductor.scm b/gnu/packages/bioconductor.scm
index 0989d1b..ce831af 100644
--- a/gnu/packages/bioconductor.scm
+++ b/gnu/packages/bioconductor.scm
@@ -6281,6 +6281,17 @@ for other R packages to compile and link against.")
          "19svh32jq1dpq3ayhpd5r8bw0iax8d9kdvpvc23gx2pf16g1j5ag"))))
     (properties `((upstream-name . "flowWorkspace")))
     (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.
+               (("\\{h5lib\\}" match)
+                (string-append match "/libhdf5.a")))
+             #t)))))
     (inputs
      `(("zlib" ,zlib)))
     (propagated-inputs



reply via email to

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