guix-commits
[Top][All Lists]
Advanced

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

212/323: gnu: r-ncdfflow: Fix r-rhdf5libs link.


From: guix-commits
Subject: 212/323: gnu: r-ncdfflow: Fix r-rhdf5libs link.
Date: Wed, 9 Dec 2020 06:47:25 -0500 (EST)

rekado pushed a commit to branch master
in repository guix.

commit 0022e9f4c000f2b8054b470a06d75f62b2b8cafb
Author: zimoun <zimon.toutoune@gmail.com>
AuthorDate: Fri Dec 4 03:35:34 2020 +0100

    gnu: r-ncdfflow: Fix r-rhdf5libs link.
    
    * gnu/packages/bioconductor.scm (r-ncdfflow): [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 2992045..76a82ff 100644
--- a/gnu/packages/bioconductor.scm
+++ b/gnu/packages/bioconductor.scm
@@ -6110,6 +6110,17 @@ change point detection.")
          "1knqc3ic2vpck7n7m7adxjz3ac70ra89d5gvlgp9r2q3kgaciwac"))))
     (properties `((upstream-name . "ncdfFlow")))
     (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.
+               (("\\(RHDF5_LIBS\\)" match)
+                (string-append match "/libhdf5.a")))
+             #t)))))
     (inputs
      `(("zlib" ,zlib)))
     (propagated-inputs



reply via email to

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