summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzimoun <zimon.toutoune@gmail.com>2020-12-04 03:35:34 +0100
committerRicardo Wurmus <rekado@elephly.net>2020-12-09 12:12:36 +0100
commit0022e9f4c000f2b8054b470a06d75f62b2b8cafb (patch)
treedc68698f96ab86d6208b6f6ca3db5298ad8f8ec0
parent2b224f904a18bd84080119ee57d4f2750a0da732 (diff)
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>.
-rw-r--r--gnu/packages/bioconductor.scm11
1 files changed, 11 insertions, 0 deletions
diff --git a/gnu/packages/bioconductor.scm b/gnu/packages/bioconductor.scm
index 299204540d..76a82ffd67 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