aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2018-06-02 12:16:03 +0200
committerRicardo Wurmus <rekado@elephly.net>2018-06-02 13:39:12 +0200
commite9c417361e2612a71344fccaaa58862c8aa02592 (patch)
tree0a796c3ac91a0ce11c5e5599b932b9b7178d2cc9 /gnu
parent0840352835737e07a1f133acd69fff132db8ae4e (diff)
downloadpatches-e9c417361e2612a71344fccaaa58862c8aa02592.tar
patches-e9c417361e2612a71344fccaaa58862c8aa02592.tar.gz
gnu: r-rhdf5lib: Update to 1.2.1.
* gnu/packages/bioinformatics.scm (r-rhdf5lib): Update to 1.2.1. [arguments]: Adjust substitutions.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/bioinformatics.scm15
1 files changed, 7 insertions, 8 deletions
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index f51c247b40..f4eb281cb7 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -10724,14 +10724,14 @@ block processing.")
(define-public r-rhdf5lib
(package
(name "r-rhdf5lib")
- (version "1.0.0")
+ (version "1.2.1")
(source
(origin
(method url-fetch)
(uri (bioconductor-uri "Rhdf5lib" version))
(sha256
(base32
- "0kkc4rprjbqn2wvbx4d49kk9l91vihccxbl4843qr1wqk6v33r1w"))))
+ "1y59acac6v8hrhv84gghn9ifsni9xxxacaj177rrl4frmkrz4x3c"))))
(properties `((upstream-name . "Rhdf5lib")))
(build-system r-build-system)
(arguments
@@ -10742,10 +10742,10 @@ block processing.")
(for-each delete-file '("configure" "configure.ac"))
;; Do not make other packages link with the proprietary libsz.
(substitute* "R/zzz.R"
- (("'%s/libhdf5_cpp.a %s/libhdf5.a %s/libsz.a'")
- "'%s/libhdf5_cpp.a %s/libhdf5.a %s/libhdf5.a'")
- (("'%s/libhdf5.a %s/libsz.a'")
- "'%s/libhdf5.a %s/libhdf5.a'"))
+ (("'%s/libhdf5_cpp.a %s/libhdf5.a %s/libsz.a -lz'")
+ "'%s/libhdf5_cpp.a %s/libhdf5.a %s/libhdf5.a -lz'")
+ (("'%s/libhdf5.a %s/libsz.a -lz'")
+ "'%s/libhdf5.a %s/libhdf5.a -lz'"))
(with-directory-excursion "src"
(invoke "tar" "xvf" (assoc-ref inputs "hdf5-source"))
(rename-file (string-append "hdf5-" ,(package-version hdf5))
@@ -10772,8 +10772,7 @@ block processing.")
(("HDF5_INCLUDE=.*") "HDF5_INCLUDE=./hdf5/src\n")
;; szip is non-free software
(("cp \\$\\{SZIP_LIB\\}.*") "")
- (("PKG_LIBS = \\$\\{HDF5_LIB\\} \\$\\{SZIP_LIB\\}")
- "PKG_LIBS = ${HDF5_LIB}\n")))
+ (("\\$\\{USER_LIB_DIR\\}libsz.a") "")))
#t)))))
(inputs
`(("zlib" ,zlib)))