[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/02: gnu: pigx-bsseq: Fix build.
From: |
guix-commits |
Subject: |
01/02: gnu: pigx-bsseq: Fix build. |
Date: |
Sat, 28 May 2022 18:40:12 -0400 (EDT) |
rekado pushed a commit to branch wip-r
in repository guix.
commit df3e5cfa05c45439fee30375cde21f4c3d32e26b
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Sun May 29 00:34:29 2022 +0200
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 @@ in an easily configurable manner.")
(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 _