Commits
Michael Dickens authored ce634b0e3e1
1 1 | # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 |
2 2 | |
3 3 | PortSystem 1.0 |
4 4 | PortGroup compilers 1.0 |
5 5 | |
6 6 | name SuiteSparse |
7 7 | epoch 20120107 |
8 8 | version 4.2.1 |
9 - | revision 5 |
9 + | revision 6 |
10 10 | categories math science |
11 11 | platforms darwin |
12 12 | maintainers {michaelld @michaelld} openmaintainer |
13 13 | license GPL-2+ LGPL-2.1+ |
14 14 | |
15 15 | compilers.choose cc cpp cxx |
16 16 | compilers.setup |
17 17 | |
18 18 | description Sparse matrix routines |
19 19 | |
65 65 | ${makefile} |
66 66 | |
67 67 | # destroot, pretix, and build arch(es) |
68 68 | |
69 69 | reinplace "s|@DESTROOT@|${destroot}|g" ${makefile} |
70 70 | reinplace "s|@PREFIX@|${prefix}|g" ${makefile} |
71 71 | reinplace "s|@ARCHES@|\$(TARGET_ARCH)|g" ${makefile} |
72 72 | |
73 73 | # select BLAS and LAPACK |
74 74 | |
75 - | set BLAS "${prefix}/lib/vecLibFort.dylib" |
75 + | set BLAS "${prefix}/lib/libvecLibFort.dylib" |
76 76 | if {[variant_isset atlas]} { |
77 77 | # Threaded lib gets priority over non-threaded (ppc) |
78 78 | if {[file exists ${prefix}/lib/libtatlas.dylib]} { |
79 79 | # linking to the threaded dylib, is there a reason to use non-threaded? |
80 80 | set BLAS "${prefix}/lib/libtatlas.dylib" |
81 81 | } else { |
82 82 | set BLAS "${prefix}/lib/libsatlas.dylib" |
83 83 | } |
84 84 | } elseif {[variant_isset openblas]} { |
85 85 | set BLAS "${prefix}/lib/libopenblas.dylib" |