From 38b5777ec84c93a867148054ce7b47ae0c7de62f Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Fri, 3 Nov 2023 19:44:57 +0100 Subject: gnu: r-rhdf5filters: Simplify. * gnu/packages/bioconductor.scm (r-rhdf5filters)[arguments]: Remove 'use-system-libraries phase and pass configure flags to disable bundled libraries. Change-Id: I2fb115e7b3df00cccb3f8d6659d465075d21f19b --- gnu/packages/bioconductor.scm | 20 ++------------------ 1 file changed, 2 insertions(+), 18 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/bioconductor.scm b/gnu/packages/bioconductor.scm index aefba11134..5628e287b1 100644 --- a/gnu/packages/bioconductor.scm +++ b/gnu/packages/bioconductor.scm @@ -9710,24 +9710,8 @@ the available RAM.") (build-system r-build-system) (arguments (list - #:phases - #~(modify-phases %standard-phases - (add-after 'unpack 'use-system-libraries - (lambda _ - (substitute* "src/blosc/Makefile.in" - (("libblosc.a: blosc") "libwhatever.a:") - (("libblosc.a") - (string-append #$(this-package-input "c-blosc") - "/lib/libblosc.so")) - (("../zstd/libzstd.a") "-lzstd")) - (substitute* "src/bzip2/Makefile" - (("libH5Zbz2.so: bzip2-1.0.8/libbz2.a") "libH5Zbz2.so:") - (("./bzip2-1.0.8/libbz2.a") "-lbz2")) - (substitute* "src/zstd/Makefile" - (("libH5Zzstd.so: libzstd.a") "libH5Zzstd.so:") - (("libzstd.a") "-lzstd")) - (substitute* "src/vbz/Makefile" - (("../zstd/libzstd.a") "-lzstd"))))))) + #:configure-flags + '(list "--without-bundled-libs"))) (propagated-inputs (list r-rhdf5lib)) (inputs -- cgit v1.2.3