Ignore:
Timestamp:
Sep 18, 2013, 3:06:42 AM (6 years ago)
Author:
eborisch@…
Message:

ocaml-mpi: Update to use new mpich-default

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/science/ocaml-mpi/Portfile

    r111008 r111271  
    55name                ocaml-mpi
    66version             1.01
    7 revision            4
     7revision            5
    88categories          science devel ml
    99maintainers         mww
     
    2222                    rmd160  c0a08090073c54e130cd2712c7d1cfbeb8d17793
    2323
    24 depends_lib         port:ocaml port:ocaml-findlib path:bin/mpicc:mpich
     24depends_lib         port:ocaml port:ocaml-findlib path:bin/mpicc-mp:mpich-default
    2525
    2626patchfiles          Makefile.diff
     
    3333use_parallel_build  no
    3434
    35 build.env           MPIINCDIR=${prefix}/include/mpich2 MPILIBDIR=${prefix}/lib
     35if {[file exists ${prefix}/lib/mpich-mp]} then {
     36   build.env           MPIINCDIR=${prefix}/include MPILIBDIR=${prefix}/lib/mpich-mp
     37} else {
     38   build.env           MPIINCDIR=${prefix}/include MPILIBDIR=${prefix}/lib/mpich-devel-mp
     39}
     40
    3641build.target        all
    3742
Note: See TracChangeset for help on using the changeset viewer.