[111271] trunk/dports/science/ocaml-mpi/Portfile

eborisch at macports.org eborisch at macports.org
Tue Sep 17 20:06:42 PDT 2013


Revision: 111271
          https://trac.macports.org/changeset/111271
Author:   eborisch at macports.org
Date:     2013-09-17 20:06:42 -0700 (Tue, 17 Sep 2013)
Log Message:
-----------
ocaml-mpi: Update to use new mpich-default

Modified Paths:
--------------
    trunk/dports/science/ocaml-mpi/Portfile

Modified: trunk/dports/science/ocaml-mpi/Portfile
===================================================================
--- trunk/dports/science/ocaml-mpi/Portfile	2013-09-18 02:18:42 UTC (rev 111270)
+++ trunk/dports/science/ocaml-mpi/Portfile	2013-09-18 03:06:42 UTC (rev 111271)
@@ -4,7 +4,7 @@
 
 name                ocaml-mpi
 version             1.01
-revision            4
+revision            5
 categories          science devel ml
 maintainers         mww
 license             LGPL-2
@@ -21,7 +21,7 @@
                     sha1    4f836f02f7e8852ba72d4293aea43cf7a3438b0f \
                     rmd160  c0a08090073c54e130cd2712c7d1cfbeb8d17793
 
-depends_lib         port:ocaml port:ocaml-findlib path:bin/mpicc:mpich
+depends_lib         port:ocaml port:ocaml-findlib path:bin/mpicc-mp:mpich-default
 
 patchfiles          Makefile.diff
 
@@ -32,7 +32,12 @@
 use_configure       no
 use_parallel_build  no
 
-build.env           MPIINCDIR=${prefix}/include/mpich2 MPILIBDIR=${prefix}/lib
+if {[file exists ${prefix}/lib/mpich-mp]} then {
+   build.env           MPIINCDIR=${prefix}/include MPILIBDIR=${prefix}/lib/mpich-mp
+} else {
+   build.env           MPIINCDIR=${prefix}/include MPILIBDIR=${prefix}/lib/mpich-devel-mp
+}
+
 build.target        all
 
 set ocamlfind_destdir ${destroot}${prefix}/lib/ocaml/site-lib
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130917/535ad8f6/attachment.html>


More information about the macports-changes mailing list