guix-commits
[Top][All Lists]
Advanced

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

209/323: gnu: r-hdf5array: Fix r-rhdf5libs linking.


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

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

commit 5f814c100c9d7a558c849c219838e18eaac0b769
Author: zimoun <zimon.toutoune@gmail.com>
AuthorDate: Fri Dec 4 03:20:55 2020 +0100

    gnu: r-hdf5array: Fix r-rhdf5libs linking.
    
    * gnu/packages/bioconductor.scm (r-hdf5array): [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 ab2595b..0989d1b 100644
--- a/gnu/packages/bioconductor.scm
+++ b/gnu/packages/bioconductor.scm
@@ -8609,6 +8609,17 @@ provided.")
          "1hr149q03p09y1cjnx8av854j53041wfyq66xpsjw4mypzjf6f28"))))
     (properties `((upstream-name . "HDF5Array")))
     (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.
+               (("\\(RHDF5LIB_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]