[141517] trunk/dports/science

dstrubbe at macports.org dstrubbe at macports.org
Sat Dec 12 01:52:00 PST 2015


Revision: 141517
          https://trac.macports.org/changeset/141517
Author:   dstrubbe at macports.org
Date:     2015-10-19 18:06:29 -0700 (Mon, 19 Oct 2015)
Log Message:
-----------
mpich, mpich-devel, openmpi, openmpi-devel:
* Use variable from compilers PortGroup to select default gcc variant.
* Add to subport long_description comments about which Fortran compilers are wrapped.

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

Modified: trunk/dports/science/mpich/Portfile
===================================================================
--- trunk/dports/science/mpich/Portfile	2015-10-19 23:50:16 UTC (rev 141516)
+++ trunk/dports/science/mpich/Portfile	2015-10-20 01:06:29 UTC (rev 141517)
@@ -202,6 +202,7 @@
     }
 
     if { [string first gcc $cname] == 0 } {
+        append long_description " AND FORTRAN COMPILERS"
         revision                3
         configure.args-delete   --disable-f77 --disable-fc
         configure.args-append   --enable-f77 --enable-fc
@@ -231,8 +232,10 @@
             configure.cxxflags-append   -Wa,-q
         }
     } else {
+        append long_description " (AND THE FORTRAN COMPILER SELECTED BY THE VARIANT, IF ANY)"
+
         set gcc_versions {4.3 4.4 4.5 4.6 4.7 4.8 4.9 5 6}
-        set default_fortran_variant +gcc5
+        set default_fortran_variant +${compilers.gcc_default}
         set g95_conflicts {}
 
         foreach ver ${gcc_versions} {

Modified: trunk/dports/science/openmpi/Portfile
===================================================================
--- trunk/dports/science/openmpi/Portfile	2015-10-19 23:50:16 UTC (rev 141516)
+++ trunk/dports/science/openmpi/Portfile	2015-10-20 01:06:29 UTC (rev 141517)
@@ -189,6 +189,7 @@
     }
 
     if { [string first gcc $cname] == 0 } {
+        append long_description " AND FORTRAN COMPILERS"
         configure.args-delete   --disable-mpi-fortran
         configure.args-append   --enable-mpi-fortran
         select.file             ${filespath}/${name}-${cname}-fortran
@@ -205,8 +206,10 @@
         } {}
         default_variants-append     +fortran
     } else {
+        append long_description " (AND THE FORTRAN COMPILER SELECTED BY THE VARIANT, IF ANY)"
+
         set gcc_versions {4.3 4.4 4.5 4.6 4.7 4.8 4.9 5 6}
-        set default_fortran_variant +gcc5
+        set default_fortran_variant +${compilers.gcc_default}
         set g95_conflicts {}
 
         foreach ver ${gcc_versions} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151212/a1f7c06f/attachment.html>


More information about the macports-changes mailing list