summary refs log tree commit diff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2021-09-30 00:10:33 +0200
committerRicardo Wurmus <rekado@elephly.net>2021-09-30 12:39:49 +0200
commitb28cd884b861f623d9691c58e4eb17ae5cf38117 (patch)
treea8c65bdd540af523f68a313c89d53bc60eee34e3
parent0398a89fa1c1ab4d319a2e00d9e339148a6a8788 (diff)
downloadguix-b28cd884b861f623d9691c58e4eb17ae5cf38117.tar.gz
gnu: r-gdsfmt: Adjust bad substitution.
* gnu/packages/bioconductor.scm (r-gdsfmt)[source]: Include beginning-of-line
anchor in substitution regular expression.
-rw-r--r--gnu/packages/bioconductor.scm5
1 files changed, 2 insertions, 3 deletions
diff --git a/gnu/packages/bioconductor.scm b/gnu/packages/bioconductor.scm
index 1e5777d6d9..4cbffac000 100644
--- a/gnu/packages/bioconductor.scm
+++ b/gnu/packages/bioconductor.scm
@@ -10548,7 +10548,7 @@ metrics, with methods for objects produced by the @code{methylumi} and
            (substitute* "src/Makevars"
              (("all: \\$\\(SHLIB\\)") "all:")
              (("\\$\\(SHLIB\\): liblzma.a") "")
-             (("(ZLIB|LZ4)/.*") "")
+             (("^	(ZLIB|LZ4)/.*") "")
              (("CoreArray/dVLIntGDS.cpp.*")
               "CoreArray/dVLIntGDS.cpp")
              (("CoreArray/dVLIntGDS.o.*")
@@ -10557,8 +10557,7 @@ metrics, with methods for objects produced by the @code{methylumi} and
               "PKG_LIBS = -llz4"))
            (substitute* "src/CoreArray/dStream.h"
              (("include \"../(ZLIB|LZ4|XZ/api)/(.*)\"" _ _ header)
-              (string-append "include <" header ">")))
-           #t))))
+              (string-append "include <" header ">")))))))
     (properties `((upstream-name . "gdsfmt")))
     (build-system r-build-system)
     (inputs