Changeset 97642


Ignore:
Timestamp:
Sep 10, 2012, 3:59:20 PM (8 years ago)
Author:
eborisch@…
Message:

fftw-3: Enable mpich2-devel to satisfy dependency for +mpich2; Enable installing +gccNN+mpich2 for -single/-long sub-ports

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/math/fftw-3/Portfile

    r97639 r97642  
    115115        file delete ${destroot}${prefix}/share/info/fftw3.info-4
    116116        file delete ${destroot}${prefix}/share/info/fftw3.info-5
     117
     118        if {[variant_isset mpich2] || [variant_isset openmpi]} {
     119          file delete ${destroot}${prefix}/include/fftw3-mpi.f03
     120          file delete ${destroot}${prefix}/include/fftw3-mpi.h
     121          file delete ${destroot}${prefix}/include/fftw3l-mpi.f03
     122        }
    117123    }
    118124}
     
    156162        file delete ${destroot}${prefix}/share/info/fftw3.info-4
    157163        file delete ${destroot}${prefix}/share/info/fftw3.info-5
     164
     165        if {[variant_isset mpich2] || [variant_isset openmpi]} {
     166          file delete ${destroot}${prefix}/include/fftw3-mpi.f03
     167          file delete ${destroot}${prefix}/include/fftw3-mpi.h
     168          file delete ${destroot}${prefix}/include/fftw3l-mpi.f03
     169        }
    158170    }
    159171}
     
    261273
    262274variant mpich2 description {compile FFTW MPI library with MPICH2} conflicts openmpi {
    263     depends_lib-append      port:mpich2
     275    depends_lib-append      path:bin/mpicc:mpich2
    264276    configure.env           MPICC=${prefix}/bin/mpicc
    265277    configure.args-append   --enable-mpi
Note: See TracChangeset for help on using the changeset viewer.