[116302] trunk/dports/_resources/port1.0/group/compilers-1.0.tcl

sean at macports.org sean at macports.org
Thu Jan 23 12:08:39 PST 2014


Revision: 116302
          https://trac.macports.org/changeset/116302
Author:   sean at macports.org
Date:     2014-01-23 12:08:38 -0800 (Thu, 23 Jan 2014)
Log Message:
-----------
compilers-1.0: remove fortrant variants when only setting c compilers

Modified Paths:
--------------
    trunk/dports/_resources/port1.0/group/compilers-1.0.tcl

Modified: trunk/dports/_resources/port1.0/group/compilers-1.0.tcl
===================================================================
--- trunk/dports/_resources/port1.0/group/compilers-1.0.tcl	2014-01-23 20:08:33 UTC (rev 116301)
+++ trunk/dports/_resources/port1.0/group/compilers-1.0.tcl	2014-01-23 20:08:38 UTC (rev 116302)
@@ -407,6 +407,9 @@
         if {[compilers.is_fortran_only]} {
             # remove gfortran since that only exists to "complete" clang/llvm
             set remove_list [remove_from_list ${compilers.fortran_variants} gfortran]
+        } elseif {[compilers.is_c_only]} {
+            # remove gfortran and g95 since those are purely for fortran
+            set remove_list [remove_from_list ${compilers.variants} {gfortran g95}]
         }
 
         foreach v $args {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140123/658c8aa2/attachment.html>


More information about the macports-changes mailing list