[141261] trunk/dports/science/mpich/Portfile

eborisch at macports.org eborisch at macports.org
Tue Oct 13 16:30:58 PDT 2015


Revision: 141261
          https://trac.macports.org/changeset/141261
Author:   eborisch at macports.org
Date:     2015-10-13 16:30:57 -0700 (Tue, 13 Oct 2015)
Log Message:
-----------
mpich[-devel]: Rev-bumps to catch default variant change; warn users installing +gcc49 that +gcc5 is now default (packaged) version.

Modified Paths:
--------------
    trunk/dports/science/mpich/Portfile

Modified: trunk/dports/science/mpich/Portfile
===================================================================
--- trunk/dports/science/mpich/Portfile	2015-10-13 23:30:00 UTC (rev 141260)
+++ trunk/dports/science/mpich/Portfile	2015-10-13 23:30:57 UTC (rev 141261)
@@ -7,8 +7,8 @@
 
 name                mpich
 version             3.1.4
-# Note may have other revisions below
-revision            1
+# Note multiple revisions in Portfile (for various sub-ports to reduce builds)
+revision            2
 
 license             BSD
 categories          science parallel net
@@ -51,7 +51,7 @@
 if {[string first "-devel" $subport] > 0} {
     name                mpich-devel
     version             3.2rc1
-    revision            1
+    revision            2
     # To see 3.1 as newer than 3.1rcX
     epoch               1
 
@@ -332,6 +332,21 @@
 
 "
 
+    if {[variant_isset gcc49]} {
+        set DEFAULT_MSG "
+NOTE: Default fortran changed to +gcc5; consider switching variants to enable
+pre-built packages for ${subport} by running:
+  \"sudo port clean ${subport} && sudo port upgrade ${subport} +gcc5-gcc49\"
+"
+        notes-append    ${DEFAULT_MSG}
+
+        pre-fetch {
+            ui_msg ${DEFAULT_MSG}
+            system "sleep 3"
+            ui_msg "Continuing with local +gcc49 build."
+        }
+    }
+
     variant gforker description {
         Use gforker process manager instead of the default hydra
     } {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151013/18e924ad/attachment.html>


More information about the macports-changes mailing list