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

jeremyhu at macports.org jeremyhu at macports.org
Tue May 1 13:27:28 PDT 2012


Revision: 92588
          https://trac.macports.org/changeset/92588
Author:   jeremyhu at macports.org
Date:     2012-05-01 13:27:28 -0700 (Tue, 01 May 2012)
Log Message:
-----------
Add support for macports-clang-3.2

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

Modified: trunk/base/src/port1.0/portconfigure.tcl
===================================================================
--- trunk/base/src/port1.0/portconfigure.tcl	2012-05-01 20:19:49 UTC (rev 92587)
+++ trunk/base/src/port1.0/portconfigure.tcl	2012-05-01 20:27:28 UTC (rev 92588)
@@ -222,6 +222,7 @@
         macports-clang-2.9 { set name "MacPorts clang 2.9" }
         macports-clang-3.0 { set name "MacPorts clang 3.0" }
         macports-clang-3.1 { set name "MacPorts clang 3.1" }
+        macports-clang-3.2 { set name "MacPorts clang 3.2" }
         default { return -code error "Invalid value for configure.compiler" }
     }
     ui_debug "Using compiler '$name'"
@@ -359,6 +360,7 @@
         macports-clang-2.9 -
         macports-clang-3.0 -
         macports-clang-3.1 -
+        macports-clang-3.2 -
         macports-clang {
             return yes
         }
@@ -395,6 +397,7 @@
         macports-clang-2.9      clang-2.9
         macports-clang-3.0      clang-3.0
         macports-clang-3.1      clang-3.1
+        macports-clang-3.2      clang-3.2
 }
 
 # internal function to determine the default compiler
@@ -679,6 +682,13 @@
                 cxx  { set ret ${prefix}/bin/clang++-mp-3.1 }
             }
         }
+        macports-clang-3.2 {
+            switch -exact ${type} {
+                cc   { set ret ${prefix}/bin/clang-mp-3.2 }
+                objc { set ret ${prefix}/bin/clang-mp-3.2 }
+                cxx  { set ret ${prefix}/bin/clang++-mp-3.2 }
+            }
+        }
     }
     return $ret
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120501/4d19f36d/attachment.html>


More information about the macports-changes mailing list