gnu: fbcat, slepc: Use INVOKE.

* gnu/packages/linux.scm (fbcat)[arguments]: Substitute INVOKE for
SYSTEM*.
* gnu/packages/maths.scm (slepc)[arguments]: Likewise.
This commit is contained in:
Tobias Geerinckx-Rice 2018-01-26 22:59:40 +01:00
parent 59cd0ba4ab
commit 94a1eb96d3
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
2 changed files with 4 additions and 3 deletions

View File

@ -4587,8 +4587,9 @@ relevant @file{/dev/vcs*} file(s).")
(delete 'configure) ; no configure script
(add-after 'build 'build-documentation
(lambda* (#:key make-flags #:allow-other-keys)
(zero? (apply system* "make" "-C" "doc"
make-flags))))
(apply invoke "make" "-C" "doc"
make-flags)
#t))
(add-after 'build 'qualify-references
(lambda* (#:key inputs outputs #:allow-other-keys)
(let* ((pnmtopng (assoc-ref inputs "pnmtopng"))

View File

@ -1647,7 +1647,7 @@ scientific applications modeled by partial differential equations.")
(format #t "configure flags: ~s~%" flags)
(setenv "SLEPC_DIR" (getcwd))
(setenv "PETSC_DIR" (assoc-ref inputs "petsc"))
(zero? (apply system* "./configure" flags)))))
(invoke "./configure" flags))))
(add-after 'install 'delete-doc
;; TODO: SLEPc installs HTML documentation alongside headers in
;; $out/include. We'd like to move them to share/doc, but delete