Ticket #27476: py26-scipy-gcc45.patch
File py26-scipy-gcc45.patch, 2.2 KB (added by jtravs@…, 14 years ago) |
---|
-
Portfile
old new 55 55 BLAS=${prefix}/lib 56 56 } 57 57 58 variant gcc42 conflicts gcc43 gcc44 description "Use gfortran-mp-4.2 as fortran compiler" {58 variant gcc42 conflicts gcc43 gcc44 gcc45 description "Use gfortran-mp-4.2 as fortran compiler" { 59 59 configure.compiler macports-gcc-4.2 60 60 depends_lib-append port:gcc42 61 61 set fc_options "config_fc --fcompiler gnu95 --f77exec ${prefix}/bin/gfortran-mp-4.2 --f90exec ${prefix}/bin/gfortran-mp-4.2" … … 63 63 destroot.cmd-append ${fc_options} 64 64 } 65 65 66 variant gcc43 conflicts gcc42 gcc44 description "Use gcc 4.3 tool chain for building" {66 variant gcc43 conflicts gcc42 gcc44 gcc 45description "Use gcc 4.3 tool chain for building" { 67 67 configure.compiler macports-gcc-4.3 68 68 depends_lib-append port:gcc43 69 69 set fc_options "config_fc --fcompiler gnu95 --f77exec ${prefix}/bin/gfortran-mp-4.3 --f90exec ${prefix}/bin/gfortran-mp-4.3" … … 77 77 CXX="${prefix}/bin/g++-mp-4.3" 78 78 } 79 79 80 variant gcc44 conflicts gcc42 gcc43 description "Use gfortran-mp-4.4 as fortran compiler" {80 variant gcc44 conflicts gcc42 gcc43 gcc45 description "Use gfortran-mp-4.4 as fortran compiler" { 81 81 configure.compiler macports-gcc-4.4 82 82 depends_lib-append port:gcc44 83 83 set fc_options "config_fc --fcompiler gnu95 --f77exec ${prefix}/bin/gfortran-mp-4.4 --f90exec ${prefix}/bin/gfortran-mp-4.4" … … 85 85 destroot.cmd-append ${fc_options} 86 86 } 87 87 88 if { ![variant_isset gcc42] && ![variant_isset gcc43] && ![variant_isset gcc44] } { 88 variant gcc45 conflicts gcc42 gcc43 gcc44 description "Use gfortran-mp-4.5 as fortran compiler" { 89 configure.compiler macports-gcc-4.5 90 depends_lib-append port:gcc45 91 set fc_options "config_fc --fcompiler gnu95 --f77exec ${prefix}/bin/gfortran-mp-4.5 --f90exec ${prefix}/bin/gfortran-mp-4.5" 92 build.cmd-append ${fc_options} 93 destroot.cmd-append ${fc_options} 94 } 95 96 if { ![variant_isset gcc42] && ![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc45]} { 89 97 default_variants +gcc44 90 98 } 91 99