gnu: suitesparse: Use modify-phases.
* gnu/packages/maths.scm (suitesparse)[arguments]: Use modify-phases.master
parent
9731c412e9
commit
2509522c4f
|
@ -2448,15 +2448,14 @@ Fresnel integrals, and similar related functions as well.")
|
||||||
(string-append "INSTALL_INCLUDE="
|
(string-append "INSTALL_INCLUDE="
|
||||||
(assoc-ref %outputs "out") "/include"))
|
(assoc-ref %outputs "out") "/include"))
|
||||||
#:phases
|
#:phases
|
||||||
(alist-cons-before
|
(modify-phases %standard-phases
|
||||||
'install 'prepare-out
|
(delete 'configure) ;no configure script
|
||||||
;; README.txt states that the target directories must exist prior to
|
(add-before 'install 'prepare-out
|
||||||
;; running "make install".
|
;; README.txt states that the target directories must exist prior to
|
||||||
(lambda _
|
;; running "make install".
|
||||||
(mkdir-p (string-append (assoc-ref %outputs "out") "/lib"))
|
(lambda _
|
||||||
(mkdir-p (string-append (assoc-ref %outputs "out") "/include")))
|
(mkdir-p (string-append (assoc-ref %outputs "out") "/lib"))
|
||||||
;; no configure script
|
(mkdir-p (string-append (assoc-ref %outputs "out") "/include")))))))
|
||||||
(alist-delete 'configure %standard-phases))))
|
|
||||||
(inputs
|
(inputs
|
||||||
`(("tbb" ,tbb)
|
`(("tbb" ,tbb)
|
||||||
("lapack" ,lapack)))
|
("lapack" ,lapack)))
|
||||||
|
|
Reference in New Issue