From 1c827ef19e853b694df85a60f8c7b0f4ca5a1fc6 Mon Sep 17 00:00:00 2001 From: Romain GARBAGE Date: Mon, 11 Mar 2024 12:07:15 +0100 Subject: gnu: grass: Remove dependency on lapack. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/geo.scm (grass): Remove dependency on lapack. Add 'fix-lapack build phase. Change-Id: I758a9b2434f0ad9f8b85a5c5cde6d0a80e6defb2 Signed-off-by: Ludovic Courtès --- gnu/packages/geo.scm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'gnu/packages/geo.scm') diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm index 506180461d..460f810d3e 100644 --- a/gnu/packages/geo.scm +++ b/gnu/packages/geo.scm @@ -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"))) -- cgit v1.2.3