mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-27 04:59:27 -05:00
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 @@ (define-public grass
|
|||
("gdal" ,gdal)
|
||||
("geos" ,geos)
|
||||
("glu" ,glu)
|
||||
("lapack" ,lapack)
|
||||
("libpng" ,libpng)
|
||||
("libtiff" ,libtiff)
|
||||
("mesa" ,mesa)
|
||||
|
@ -2643,6 +2642,11 @@ (define-public grass
|
|||
(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")))
|
||||
|
|
Loading…
Reference in a new issue