Revision
116537
Author
sean@macports.org
Date
2014-01-27 13:19:54 -0800 (Mon, 27 Jan 2014)

Log Message

openmpi-devel: sync with openmpi

Modified Paths

Diff

Modified: trunk/dports/science/openmpi-devel/Portfile (116536 => 116537)


--- trunk/dports/science/openmpi-devel/Portfile	2014-01-27 21:19:51 UTC (rev 116536)
+++ trunk/dports/science/openmpi-devel/Portfile	2014-01-27 21:19:54 UTC (rev 116537)
@@ -28,6 +28,10 @@
             advantages for system and software vendors, application developers \
             and computer science researchers.
 
+# Force local builds to avoid missing compilers (possible if grabbed from
+# buildbot with different Xcode)
+archive_sites
+
 homepage            http://www.open-mpi.org/
 master_sites        http://www.open-mpi.org/nightly/trunk \
                     http://www.open-mpi.de/nightly/trunk
@@ -102,9 +106,6 @@
 
 # remove -arch from ldflags, ticket #22833
 configure.ld_archflags
-# avoid building against older installed version, ticket #23864
-configure.cppflags-delete -I${prefix}/include
-configure.ldflags-delete -L${prefix}/lib
 
 configure.ccache no
 
@@ -153,6 +154,8 @@
         }
 
         foreach bin {mpiexec mpicc mpicxx mpif77 mpif90} {
+            system -W ${destroot}${prefix}/share/$name-$cname/openmpi \
+                "ln -sf $bin-wrapper-data.txt $bin-$name-$cname-wrapper-data.txt"
             system -W ${destroot}${prefix}/bin \
                 "ln -sf ${prefix}/libexec/$name-$cname/$bin $bin-$name-$cname"
         }