gnu: grass: Remove dependency on lapack.
* gnu/packages/geo.scm (grass): Remove dependency on lapack. Add 'fix-lapack build phase. Change-Id: I758a9b2434f0ad9f8b85a5c5cde6d0a80e6defb2 Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
		
							parent
							
								
									8eeef890f3
								
							
						
					
					
						commit
						1c827ef19e
					
				
					 1 changed files with 5 additions and 1 deletions
				
			
		|  | @ -2609,7 +2609,6 @@ orienteering sport.") | |||
|          ("gdal" ,gdal) | ||||
|          ("geos" ,geos) | ||||
|          ("glu" ,glu) | ||||
|          ("lapack" ,lapack) | ||||
|          ("libpng" ,libpng) | ||||
|          ("libtiff" ,libtiff) | ||||
|          ("mesa" ,mesa) | ||||
|  | @ -2643,6 +2642,11 @@ orienteering sport.") | |||
|                              (guix build python-build-system)) | ||||
|          #:phases | ||||
|          (modify-phases %standard-phases | ||||
|            (add-after 'unpack 'fix-lapack | ||||
|              (lambda _ | ||||
|                (substitute* "./configure" | ||||
|                  (("-lblas") "-lopenblas") | ||||
|                  (("-llapack") "-lopenblas")))) | ||||
|            (replace 'configure | ||||
|              (lambda* (#:key inputs outputs #:allow-other-keys) | ||||
|                (let ((shell (search-input-file inputs "/bin/bash"))) | ||||
|  |  | |||
		Reference in a new issue