gnu: wcslib: Fix build.

* gnu/packages/astronomy.scm (wcslib)[arguments]: Skip the default
‘install-license-files’ phase.  Don't build or test in parallel.
This commit is contained in:
Tobias Geerinckx-Rice 2018-06-06 04:02:15 +02:00
parent 4f12e5cc7c
commit 60b0c25222
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 11 additions and 6 deletions

View File

@ -81,12 +81,17 @@ in FITS files.")
`(("cfitsio" ,cfitsio))) `(("cfitsio" ,cfitsio)))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
`(#:phases (modify-phases %standard-phases `(#:phases
(add-before 'configure 'patch-/bin/sh (modify-phases %standard-phases
(lambda _ (add-before 'configure 'patch-/bin/sh
(substitute* "makedefs.in" (lambda _
(("/bin/sh") "sh")) (substitute* "makedefs.in"
#t))))) (("/bin/sh") "sh"))
#t))
(delete 'install-license-files)) ; installed by make install
;; Both the build and tests fail randomly when run in parallel.
#:parallel-build? #f
#:parallel-tests? #f))
(home-page "https://www.atnf.csiro.au/people/mcalabre/WCS") (home-page "https://www.atnf.csiro.au/people/mcalabre/WCS")
(synopsis "Library which implements the FITS WCS standard") (synopsis "Library which implements the FITS WCS standard")
(description "The FITS \"World Coordinate System\" (@dfn{WCS}) standard (description "The FITS \"World Coordinate System\" (@dfn{WCS}) standard