From 5767547e7351c761d40bc0af739fcb787e74c16e Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Thu, 3 Oct 2019 15:09:38 +0200 Subject: gnu: rcas-web: Fix build with RCAS > 1.3.x. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/bioinformatics.scm (rcas-web)[arguments]: Add ‘find-RCAS’ phase. --- gnu/packages/bioinformatics.scm | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'gnu/packages/bioinformatics.scm') diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index 6d36bb73ba..5ec600598b 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -8418,6 +8418,13 @@ library implementing most of the pipeline's features.") (arguments `(#:phases (modify-phases %standard-phases + (add-before 'configure 'find-RCAS + ;; The configure script can't find non-1.3.x versions of RCAS because + ;; its R expression ‘1.10.1 >= 1.3.4’ evaluates to false. + (lambda _ + (substitute* "configure" + (("1\\.3\\.4") "0.0.0")) + #t)) (add-after 'install 'wrap-executable (lambda* (#:key inputs outputs #:allow-other-keys) (let* ((out (assoc-ref outputs "out")) -- cgit v1.2.3