Ticket #32351: Portfile.diff
File Portfile.diff, 1.5 KB (added by tenomoto (Takeshi Enomoto), 13 years ago) |
---|
-
Portfile
37 37 port:texinfo 38 38 39 39 depends_lib port:arpack \ 40 port:atlas \41 40 port:curl \ 42 41 port:fftw-3 \ 43 42 port:fftw-3-single \ … … 62 61 63 62 universal_variant no 64 63 64 if {${configure.compiler}=="clang"} { 65 configure.compiler llvm-gcc-4.2 66 } 65 67 configure.args --disable-dependency-tracking \ 66 68 --without-x \ 67 69 --disable-docs \ … … 100 102 configure.f77 "${prefix}/bin/g95" 101 103 } 102 104 105 variant atlas conflicts accelerate description {use BLAS from ATLAS} { 106 depends_lib-append port:atlas 107 } 108 109 variant accelerate conflicts atlas description {use BLAS from Accelerate.framework} { 110 # if {![variant_isset g95]} { 111 # configure.fflags-append -ff2c 112 # } 113 # if {[variant_isset g95] || ([string match *64* $build_arch] && ${os.major} >= 10)} { 114 depends_lib-append port:dotwrp 115 configure.args-append --with-blas="-ldotwrp -framework Accelerate" 116 # } 117 configure.args-append --with-lapack="-framework Accelerate" 118 } 119 120 if {[variant_isset g95]} { 121 default_variants +accelerate 122 } elseif {![variant_isset accelerate]} { 123 default_variants +atlas 124 } 125 103 126 # check for GCC / G95 variants. The default here must match the 104 127 # default found in the 'arpack' and 'atlas' ports. 105 128