Ticket #27356: Portfile-py27-scipy.diff

File Portfile-py27-scipy.diff, 794 bytes (added by juhauser@…, 14 years ago)
  • 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.4 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.4"
     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