~ruther/guix-local

1c827ef19e853b694df85a60f8c7b0f4ca5a1fc6 — Romain GARBAGE 2 years ago 8eeef89
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>
1 files changed, 5 insertions(+), 1 deletions(-)

M gnu/packages/geo.scm
M gnu/packages/geo.scm => gnu/packages/geo.scm +5 -1
@@ 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")))