Ticket #29256: Portfile.2.diff
File Portfile.2.diff, 1.5 KB (added by tenomoto (Takeshi Enomoto), 14 years ago) |
---|
-
Portfile
old new 83 83 depends_lib-append port:atlas 84 84 } 85 85 variant accelerate conflicts atlas description {use BLAS from Accelerate.framework} { 86 configure.fflags-append -ff2c87 if {![variant_isset g95]} {88 configure.args-append --with-blas="- framework Accelerate"86 if {[variant_isset g95] || ([string match *64* $build_arch] && ${os.major} == 10)} { 87 depends_lib-append port:dotwrp 88 configure.args-append --with-blas="-ldotwrp -framework Accelerate" 89 89 } 90 90 configure.args-append --with-lapack="-framework Accelerate" 91 92 if {[string match *64* $build_arch] && ${os.major} == 10} {93 # see http://www.macresearch.org/lapackblas-fortran-106#comment-1721794 pre-fetch {95 return -code error "Accelerate.framework cannot be used by 64-bit FORTRAN code on Snow Leopard."96 }97 }98 91 } 99 92 if {[variant_isset g95]} { 100 93 default_variants +accelerate … … 124 117 125 118 variant g95 description {build with g95} requires accelerate conflicts atlas gcc43 gcc44 gcc45 { 126 119 depends_build-append port:g95 127 depends_lib-append port:dotwrp128 120 configure.f77 "${prefix}/bin/g95" 129 configure.args-append --with-blas="-ldotwrp -framework Accelerate" 130 } 121 } 131 122 132 123 if { ![variant_isset gcc43] && ![variant_isset gcc45] && ![variant_isset g95] } { 133 124 default_variants +gcc44