redis-plus-plus: 1.3.7 -> 1.3.10
[NixPkgs.git] / pkgs / development / lisp-modules-new-obsolete / patches / magicl-dont-build-fortran-twice.patch
blobf63b6949b1fd5c47e2d929a73449387f882e0657
1 --- a/magicl.asd
2 +++ b/magicl.asd
3 @@ -143,6 +143,7 @@
4 (shared-object (make-pathname :type #+darwin "dylib" #-darwin "so"
5 :name "libexpokit"
6 :defaults fortran-file)))
7 + (unless (probe-file (nn shared-object))
8 (uiop:run-program
9 (list "gfortran" "-fPIC" "-std=legacy"
10 "-c"
11 @@ -155,7 +156,7 @@
12 (nn object-file)
13 #+darwin "-lblas"
14 #+darwin "-llapack"))
15 - (delete-file object-file))))
16 + (delete-file object-file)))))
19 (asdf:defsystem #:magicl/ext-expokit
21 Diff finished. Mon Oct 10 22:03:54 2022