Ticket #49579: patch-Arpack.diff
File patch-Arpack.diff, 1.2 KB (added by NicosPavlov, 9 years ago) |
---|
-
Portfile
63 63 set universal_archs_supported "ppc ppc64" 64 64 } 65 65 66 variant accelerate conflicts atlas description {build with Accelerate framework} {66 variant accelerate conflicts atlas openblas description {build with Accelerate framework} { 67 67 # the change of LDFLAGS is required to avoid linking against the ATLAS ones 68 68 # if they are present; if we specify /usr/lib/libblas.dylib directly, the 69 69 # linking fails. http://forge.scilab.org/index.php/p/arpack-ng/issues/1220/ … … 75 75 } 76 76 } 77 77 78 variant atlas description {build with atlas} {78 variant atlas conflicts accelerate openblas description {build with atlas} { 79 79 depends_lib-append port:atlas 80 80 configure.args-append --with-blas="-L${prefix}/lib -lsatlas" 81 81 } 82 82 83 if {![variant_isset atlas]} { 83 variant openblas conflicts accelerate atlas description {build with openblas} { 84 depends_lib-append path:lib/libopenblas.dylib:OpenBLAS 85 configure.args-append --with-blas="-L${prefix}/lib -lopenblas" 86 } 87 88 if {![variant_isset atlas] && ![variant_isset openblas]} { 84 89 default_variants +accelerate 85 90 } 86 91