[71487] trunk/base/src/port1.0/portconfigure.tcl

jmr at macports.org jmr at macports.org
Tue Sep 14 18:46:35 PDT 2010


Revision: 71487
          http://trac.macports.org/changeset/71487
Author:   jmr at macports.org
Date:     2010-09-14 18:46:34 -0700 (Tue, 14 Sep 2010)
Log Message:
-----------
add macports-gcc-4.6 option for configure.compiler

Modified Paths:
--------------
    trunk/base/src/port1.0/portconfigure.tcl

Modified: trunk/base/src/port1.0/portconfigure.tcl
===================================================================
--- trunk/base/src/port1.0/portconfigure.tcl	2010-09-15 01:40:00 UTC (rev 71486)
+++ trunk/base/src/port1.0/portconfigure.tcl	2010-09-15 01:46:34 UTC (rev 71487)
@@ -210,6 +210,7 @@
         macports-gcc-4.3 { set name "MacPorts gcc 4.3" }
         macports-gcc-4.4 { set name "MacPorts gcc 4.4" }
         macports-gcc-4.5 { set name "MacPorts gcc 4.5" }
+        macports-gcc-4.6 { set name "MacPorts gcc 4.6" }
         default { return -code error "Invalid value for configure.compiler" }
     }
     ui_debug "Using compiler '$name'"
@@ -495,6 +496,17 @@
                 f90  { set ret ${prefix}/bin/gfortran-mp-4.5 }
             }
         }
+        macports-gcc-4.6 {
+            switch -exact ${type} {
+                cc   { set ret ${prefix}/bin/gcc-mp-4.6 }
+                objc { set ret ${prefix}/bin/gcc-mp-4.6 }
+                cxx  { set ret ${prefix}/bin/g++-mp-4.6 }
+                cpp  { set ret ${prefix}/bin/cpp-mp-4.6 }
+                fc   { set ret ${prefix}/bin/gfortran-mp-4.6 }
+                f77  { set ret ${prefix}/bin/gfortran-mp-4.6 }
+                f90  { set ret ${prefix}/bin/gfortran-mp-4.6 }
+            }
+        }
     }
     return $ret
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100914/0d21bd15/attachment.html>


More information about the macports-changes mailing list