From b58c4e7613bc3e3602042dbf340f5116f4cae4bb Mon Sep 17 00:00:00 2001 From: zimoun Date: Fri, 4 Dec 2020 03:06:21 +0100 Subject: 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 . --- gnu/packages/bioconductor.scm | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'gnu/packages/bioconductor.scm') diff --git a/gnu/packages/bioconductor.scm b/gnu/packages/bioconductor.scm index 840f937c2b..ab2595b229 100644 --- a/gnu/packages/bioconductor.scm +++ b/gnu/packages/bioconductor.scm @@ -6009,6 +6009,17 @@ cluster count and membership by stability evidence in unsupervised analysis.") "1wylzps7wbvm64k62w5bbi8l74gaqca96psfapxfg6mcac5yz4qw")))) (properties `((upstream-name . "cytolib"))) (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 `(("zlib" ,zlib))) (native-inputs -- cgit v1.2.3