Ticket #27754: py27-scipy-gcc45.patch

File py27-scipy-gcc45.patch, 794 bytes (added by paul.dlug@…, 14 years ago)

patch to add gcc45 variant to python/py27-scipy

  • Portfile

    old new  
    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