Ticket #40715: Portfile-parmetis.diff

File Portfile-parmetis.diff, 1.7 KB (added by TBird2001 (Jason Verley), 11 years ago)

Suggested portfile change

  • Portfile

    old new  
    88categories          math
    99platforms           darwin
    1010maintainers         ryandesign openmaintainer
     11# Included license is for "evaluation purposes" only (whatever that means) if
     12# you're not a non-profit or US government agency.
     13license             Restrictive
    1114
    1215description         ParMETIS - parallel graph partitioning
    1316
     
    1922checksums           rmd160  1e81baf2bafe79b7abed656bff2fa3745966a196 \
    2023                    sha256  f2d9a231b7cf97f1fee6e8c9663113ebf6c240d407d3c118c55b3633d6be6e5f
    2124
    22 depends_build       port:cmake \
    23                     port:mpich-default
     25depends_build       port:cmake
    2426
    2527patchfiles          patch-Makefile.diff \
    2628                    patch-metis-GKlib-GKlibSystem.cmake.diff
     
    2830# mpich-default is not universal
    2931universal_variant no
    3032
    31 configure.cc        ${prefix}/bin/mpicc-mp
    32 configure.cxx       ${prefix}/bin/mpicxx-mp
     33default_variants    +mpich
     34
     35variant mpich conflicts openmpi description {Builds ParMETIS using MPICH} {
     36                    depends_build-append    port:mpich-default
     37
     38                    configure.cc        ${prefix}/bin/mpicc-mp
     39                    configure.cxx       ${prefix}/bin/mpicxx-mp
     40}
     41
     42variant openmpi conflicts mpich description {Builds ParMETIS using Open MPI} {
     43                    depends_build-append    port:openmpi
     44
     45                    configure.cc        ${prefix}/bin/openmpicc
     46                    configure.cxx       ${prefix}/bin/openmpicxx
     47}
    3348
    3449configure.cmd       make config
    3550configure.env       CONFIG_FLAGS=-DCMAKE_INSTALL_NAME_DIR=${prefix}/lib