gnu: r-cytolib: Fix r-rhdf5libs linking.
* gnu/packages/bioconductor.scm (r-cytolib): [arguments]: Avoid to have a plain directory on the list of libraries to link. Co-authored-by: Ricardo Wurmus <reka@elephly.net>.master
parent
c5ae5c1c40
commit
b58c4e7613
|
@ -6009,6 +6009,17 @@ cluster count and membership by stability evidence in unsupervised analysis.")
|
||||||
"1wylzps7wbvm64k62w5bbi8l74gaqca96psfapxfg6mcac5yz4qw"))))
|
"1wylzps7wbvm64k62w5bbi8l74gaqca96psfapxfg6mcac5yz4qw"))))
|
||||||
(properties `((upstream-name . "cytolib")))
|
(properties `((upstream-name . "cytolib")))
|
||||||
(build-system r-build-system)
|
(build-system r-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:phases
|
||||||
|
(modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'fix-linking
|
||||||
|
(lambda _
|
||||||
|
(substitute* "src/Makevars.in"
|
||||||
|
;; 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
|
(inputs
|
||||||
`(("zlib" ,zlib)))
|
`(("zlib" ,zlib)))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
|
|
Reference in New Issue