Ticket #34148: patch-Portfile.diff

File patch-Portfile.diff, 720 bytes (added by tenomoto (Takeshi Enomoto), 12 years ago)
  • Portfile

     
    158158    }
    159159}
    160160
     161variant openmpi description {compile FFTW MPI library with OpenMPI} {
     162    depends_lib-append      port:openmpi
     163    configure.env           MPICC=${prefix}/lib/openmpi/bin/mpicc
     164    configure.args-append   --enable-mpi
     165}
     166
     167variant mpich2 description {compile FFTW MPI library with MPICH2} {
     168    depends_lib-append      port:mpich2
     169    configure.env           MPICC=${prefix}/bin/mpicc
     170    configure.args-append   --enable-mpi
     171}
     172
    161173livecheck.type  regex
    162174livecheck.url   ${homepage}
    163175livecheck.regex {FFTW (\d+(?:\.\d+)*) is the latest}