Ticket #22481: Portfile.diff

File Portfile.diff, 1.3 KB (added by numaryu, 15 years ago)
  • Portfile

    old new  
    5353    depends_lib-append      port:gcc43
    5454    configure.args-delete   --disable-fortran-compiler-check --disable-f77 --disable-f90
    5555    configure.cppflags-append -DpgiFortran
    56     configure.fc            ${prefix}/bin/gfortran-mp-4.3
    57     configure.f77           ${configure.fc}
     56    configure.compiler      macports-gcc-4.3
     57#    configure.fc            ${prefix}/bin/gfortran-mp-4.3
     58#    configure.f77           ${configure.fc}
    5859}
    5960
    6061variant g95 description conflicts gcc43 description {Enable Fortran support with g95} {
     
    6667    configure.f77           ${configure.fc}
    6768}
    6869
    69 variant openmpi description {compile with openmpi} {
     70variant openmpi conflicts mpich2 description {compile with openmpi} {
    7071    depends_lib-append      port:openmpi
    7172    configure.fc            openmpif77
    7273    configure.cc            openmpicc
    7374    configure.cxx           openmpicxx
    7475}
    7576
     77variant mpich2 conflicts openmpi description {compile with mpich2} {
     78    depends_lib-append      port:mpich2
     79    configure.fc            mpif90
     80    configure.cc            mpicc
     81    configure.cxx           mpicxx
     82}
     83
    7684variant dap description {enable dap} {
    7785    depends_lib-append      port:curl
    7886    configure.args-append   --enable-dap