Ticket #42967: Portfile-silo.diff

File Portfile-silo.diff, 703 bytes (added by johnsonsr@…, 11 years ago)

Updated patch file reflecting discussion

  • Portfile

    old new  
    7171    configure.args-append   --with-hdf5=${prefix}
    7272}
    7373
     74# If using a macports-installed GCC, which includes a compatible fortran
     75# compiler, compile fortran bindings
     76if {(    [ variant_isset gcc44 ] || [ variant_isset gcc45 ]
     77      || [ variant_isset gcc46 ] || [ variant_isset gcc47 ]
     78      || [ variant_isset gcc48 ] || [ variant_isset gcc49 ] )} {
     79    configure.args-delete       --disable-fortran
     80    configure.args-append       --enable-fortran
     81}
     82
    7483livecheck.type      regex
    7584livecheck.url       ${homepage}downloads.html
    7685livecheck.regex     ${name}-(\[0-9.\]+)-bsd