From df3e5cfa05c45439fee30375cde21f4c3d32e26b Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Sun, 29 May 2022 00:34:29 +0200 Subject: gnu: pigx-bsseq: Fix build. * gnu/packages/bioinformatics.scm (pigx-bsseq)[arguments]: Patch build system in 'autoreconf phase. --- gnu/packages/bioinformatics.scm | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index 1b118908da..0945bddbe7 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -11191,6 +11191,15 @@ (define-public pigx-bsseq (modify-phases %standard-phases (add-before 'bootstrap 'autoreconf (lambda _ + ;; This was fixed in commit + ;; d56ac732524da659afbbb0972f7a87fa178ae58e, but there is no + ;; release with this fix. + (call-with-output-file "VERSION" + (lambda (port) (display ,version port))) + ;; https://github.com/BIMSBbioinfo/pigx_bsseq/issues/181 + (substitute* "m4/ax_r_package.m4" + (("if\\(is.na\\(packageDescription\\(\"PKG\"\\)\\)\\)") + "if(system.file(package=\"PKG\") == \"\")")) (invoke "autoreconf" "-vif"))) (add-before 'configure 'set-PYTHONPATH (lambda _ -- cgit v1.2.3