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

mfeiri at macports.org mfeiri at macports.org
Sat Oct 30 08:30:53 PDT 2010


Revision: 72936
          http://trac.macports.org/changeset/72936
Author:   mfeiri at macports.org
Date:     2010-10-30 08:30:50 -0700 (Sat, 30 Oct 2010)
Log Message:
-----------
add macports-llvm-gcc-4.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	2010-10-30 14:50:00 UTC (rev 72935)
+++ trunk/base/src/port1.0/portconfigure.tcl	2010-10-30 15:30:50 UTC (rev 72936)
@@ -211,6 +211,7 @@
         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" }
+        macports-llvm-gcc-4.2 { set name "MacPorts llvm-gcc 4.2" }
         default { return -code error "Invalid value for configure.compiler" }
     }
     ui_debug "Using compiler '$name'"
@@ -508,6 +509,17 @@
                 f90  { set ret ${prefix}/bin/gfortran-mp-4.6 }
             }
         }
+        macports-llvm-gcc-4.2 {
+            switch -exact ${type} {
+                cc   { set ret ${prefix}/bin/llvm-gcc-4.2 }
+                objc { set ret ${prefix}/bin/llvm-gcc-4.2 }
+                cxx  { set ret ${prefix}/bin/llvm-g++-4.2 }
+                cpp  { set ret ${prefix}/bin/llvm-cpp-4.2 }
+                fc   { set ret ${prefix}/bin/llvm-gfortran-4.2 }
+                f77  { set ret ${prefix}/bin/llvm-gfortran-4.2 }
+                f90  { set ret ${prefix}/bin/llvm-gfortran-4.2 }
+            }
+        }
     }
     return $ret
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20101030/273f1827/attachment.html>


More information about the macports-changes mailing list