summary refs log tree commit diff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2023-11-03 19:44:57 +0100
committerRicardo Wurmus <rekado@elephly.net>2023-11-03 22:49:28 +0100
commit38b5777ec84c93a867148054ce7b47ae0c7de62f (patch)
tree45943c36def4ec72490629d067e4ce024ec06f65
parent78641cf9da4f0c8e1f918a7b96e8a8a84296bff3 (diff)
downloadguix-38b5777ec84c93a867148054ce7b47ae0c7de62f.tar.gz
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
-rw-r--r--gnu/packages/bioconductor.scm20
1 files changed, 2 insertions, 18 deletions
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