Ticket #27476: py26-scipy-gcc45.patch

File py26-scipy-gcc45.patch, 2.2 KB (added by jtravs@…, 14 years ago)

patch

  • Portfile

    old new  
    5555                            BLAS=${prefix}/lib
    5656}
    5757
    58 variant gcc42 conflicts gcc43 gcc44 description "Use gfortran-mp-4.2 as fortran compiler" {
     58variant gcc42 conflicts gcc43 gcc44 gcc45 description "Use gfortran-mp-4.2 as fortran compiler" {
    5959  configure.compiler    macports-gcc-4.2
    6060  depends_lib-append    port:gcc42
    6161  set fc_options        "config_fc --fcompiler gnu95 --f77exec ${prefix}/bin/gfortran-mp-4.2 --f90exec ${prefix}/bin/gfortran-mp-4.2"
     
    6363  destroot.cmd-append   ${fc_options}
    6464}
    6565
    66 variant gcc43 conflicts gcc42 gcc44 description "Use gcc 4.3 tool chain for building" {
     66variant gcc43 conflicts gcc42 gcc44 gcc 45description "Use gcc 4.3 tool chain for building" {
    6767  configure.compiler    macports-gcc-4.3
    6868  depends_lib-append    port:gcc43
    6969  set fc_options        "config_fc --fcompiler gnu95 --f77exec ${prefix}/bin/gfortran-mp-4.3 --f90exec ${prefix}/bin/gfortran-mp-4.3"
     
    7777                        CXX="${prefix}/bin/g++-mp-4.3"
    7878}
    7979
    80 variant gcc44 conflicts gcc42 gcc43 description "Use gfortran-mp-4.4 as fortran compiler" {
     80variant gcc44 conflicts gcc42 gcc43 gcc45 description "Use gfortran-mp-4.4 as fortran compiler" {
    8181  configure.compiler    macports-gcc-4.4
    8282  depends_lib-append    port:gcc44
    8383  set fc_options        "config_fc --fcompiler gnu95 --f77exec ${prefix}/bin/gfortran-mp-4.4 --f90exec ${prefix}/bin/gfortran-mp-4.4"
     
    8585  destroot.cmd-append   ${fc_options}
    8686}
    8787
    88 if { ![variant_isset gcc42] && ![variant_isset gcc43] && ![variant_isset gcc44] } {
     88variant 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
     96if { ![variant_isset gcc42] && ![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc45]} {
    8997  default_variants      +gcc44
    9098}
    9199