Ticket #34369: Portfile.diff

File Portfile.diff, 839 bytes (added by numaryu, 13 years ago)
  • Portfile

    old new  
    2525
    2626# openmpi does not have a universal variant
    2727universal_variant   no
    28 depends_build port:openmpi
     28#depends_build port:openmpi
     29depends_build port:mpich2
    2930configure.args-append --enable-mpi home=${worksrcpath}
    3031if { ${build_arch}=="x86_64" || ${build_arch}=="ppc64" } {
    3132    configure.args-append FFLAGS='-O2 -m64' LDFLAGS='-L${prefix}/lib'
    3233} else {
    3334    configure.args-append FFLAGS='-O2 -m32' LDFLAGS='-L${prefix}/lib'
    3435}
    35 configure.env-append MPIF77=${prefix}/bin/openmpif77
     36#configure.env-append MPIF77=${prefix}/bin/openmpif77
     37configure.env-append MPIF77=${prefix}/bin/mpif77
     38configure.args-append FFLAGS='-I${prefix}/include/mpich2'
    3639
    3740pre-fetch {
    3841        if {"darwin" == ${os.platform} && ${os.major} < 9} {