me
/
guix
Archived
1
0
Fork 0

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>.
master
zimoun 2020-12-04 03:35:34 +01:00 committed by Ricardo Wurmus
parent 2b224f904a
commit 0022e9f4c0
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 11 additions and 0 deletions

View File

@ -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