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: Mon, 7 Dec 2020 15:13:51 -0500 (EST)

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

commit 5624e99520d33a5bc9457339bab437c05a3bd8d6
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]