gnu: pigx-bsseq: Fix build.

* gnu/packages/bioinformatics.scm (pigx-bsseq)[arguments]: Patch build system
in 'autoreconf phase.
This commit is contained in:
Ricardo Wurmus 2022-05-29 00:34:29 +02:00
parent b64f4a1245
commit df3e5cfa05
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -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 _