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

larryv at macports.org larryv at macports.org
Mon Mar 4 17:23:53 PST 2013


Revision: 103703
          https://trac.macports.org/changeset/103703
Author:   larryv at macports.org
Date:     2013-03-04 17:23:53 -0800 (Mon, 04 Mar 2013)
Log Message:
-----------
portconfigure.tcl: Fix copypasta error in configure_get_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	2013-03-05 01:17:42 UTC (rev 103702)
+++ trunk/base/src/port1.0/portconfigure.tcl	2013-03-05 01:23:53 UTC (rev 103703)
@@ -549,8 +549,7 @@
             objc { return ${prefix}/bin/clang${suffix} }
             cxx  { return ${prefix}/bin/clang++${suffix} }
         }
-    } elseif {[regexp {^macports-dragonegg(-\d+\.\d+)$} $compiler -> suffix]} {
-        set infix [lindex $version 1]
+    } elseif {[regexp {^macports-dragonegg(-\d+\.\d+)$} $compiler -> infix]} {
         switch $type {
             cc   -
             objc { return ${prefix}/bin/dragonegg${infix}-gcc }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130304/c4fc3225/attachment.html>


More information about the macports-changes mailing list