me
/
guix
Archived
1
0
Fork 0

gnu: pigx-bsseq: Fix build.

* gnu/packages/bioinformatics.scm (pigx-bsseq)[arguments]: Patch build system
in 'autoreconf phase.
master
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
1 changed files with 9 additions and 0 deletions

View File

@ -11191,6 +11191,15 @@ in an easily configurable manner.")
(modify-phases %standard-phases (modify-phases %standard-phases
(add-before 'bootstrap 'autoreconf (add-before 'bootstrap 'autoreconf
(lambda _ (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"))) (invoke "autoreconf" "-vif")))
(add-before 'configure 'set-PYTHONPATH (add-before 'configure 'set-PYTHONPATH
(lambda _ (lambda _