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:
		
							parent
							
								
									4f12e5cc7c
								
							
						
					
					
						commit
						60b0c25222
					
				
					 1 changed files with 11 additions and 6 deletions
				
			
		|  | @ -81,12 +81,17 @@ in FITS files.") | |||
|      `(("cfitsio" ,cfitsio))) | ||||
|     (build-system gnu-build-system) | ||||
|     (arguments | ||||
|      `(#:phases (modify-phases %standard-phases | ||||
|                   (add-before 'configure 'patch-/bin/sh | ||||
|                     (lambda _ | ||||
|                       (substitute* "makedefs.in" | ||||
|                         (("/bin/sh") "sh")) | ||||
|                       #t))))) | ||||
|      `(#:phases | ||||
|        (modify-phases %standard-phases | ||||
|          (add-before 'configure 'patch-/bin/sh | ||||
|            (lambda _ | ||||
|              (substitute* "makedefs.in" | ||||
|                (("/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") | ||||
|     (synopsis "Library which implements the FITS WCS standard") | ||||
|     (description "The FITS \"World Coordinate System\" (@dfn{WCS}) standard | ||||
|  |  | |||
		Reference in a new issue