[123119] trunk/dports/science/mpich/Portfile
eborisch at macports.org
eborisch at macports.org
Tue Aug 5 15:22:54 PDT 2014
Revision: 123119
https://trac.macports.org/changeset/123119
Author: eborisch at macports.org
Date: 2014-08-05 15:22:54 -0700 (Tue, 05 Aug 2014)
Log Message:
-----------
mpich: Update -devel to latest; Add clangXX/dragonegg when appropriate to depends_lib -- we need them around after install if we are wrapping them.
Modified Paths:
--------------
trunk/dports/science/mpich/Portfile
Modified: trunk/dports/science/mpich/Portfile
===================================================================
--- trunk/dports/science/mpich/Portfile 2014-08-05 21:52:47 UTC (rev 123118)
+++ trunk/dports/science/mpich/Portfile 2014-08-05 22:22:54 UTC (rev 123119)
@@ -49,9 +49,9 @@
if {[string first "-devel" $subport] > 0} {
name mpich-devel
- version 3.1.2-61
+ version 3.1.2-66
revision 0
- set tag g122dbd96
+ set tag g658ff0d
# To see 3.1 as newer than 3.1rcX
epoch 1
distname mpich-master-v${version}-${tag}
@@ -59,8 +59,8 @@
master_sites ${homepage}static/downloads/nightly/master/mpich
checksums \
- rmd160 2e8475c3f98188733f74aea2d556b386de8b0170 \
- sha256 1060fbd64b8f6e5ee477605ec7dcd0a2063cc0e16d068fe01e1b0021a0ba774e
+ rmd160 57d54b161fe71d079587f9ed9b76a41783a36be9 \
+ sha256 7012ef99cfa7d7999e0eb8f81bb9a081e7808195d89be5e580a1b375d0caf6ea
livecheck.regex \
mpich-master-v(\[0-9.\]+-\[0-9\]+)-\[0-9a-z\]+${extract.suffix}
@@ -135,6 +135,14 @@
set cname mp
}
+ # As we are making wrappers, we depend on the compilers to exist. The
+ # compilers group already does this for gcc, but not clangXX/dragonegg.
+ # This adds clangXX/dragonegg to the depends_lib (not just depends_build)
+ if {[regexp {(clang\d|dragonegg)} ${cname}] == 1} {
+ set cport_name [regsub {(\d)(\d)} ${cname} {-\1.\2}]
+ depends_lib port:${cport_name}
+ }
+
if {[lsearch -exact {mp llvm clang} ${cname}] != -1} {
# Force local builds with Xcode-provided compilers (avoid issues with
# different Xcode versions on buildbot and user machines)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140805/f159d4ee/attachment.html>
More information about the macports-changes
mailing list