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

larryv at macports.org larryv at macports.org
Sat Jul 13 11:57:07 PDT 2013


Revision: 108136
          https://trac.macports.org/changeset/108136
Author:   larryv at macports.org
Date:     2013-07-13 11:57:07 -0700 (Sat, 13 Jul 2013)
Log Message:
-----------
portconfigure.tcl: Roll up default definitions for tools.

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-07-13 18:55:50 UTC (rev 108135)
+++ trunk/base/src/port1.0/portconfigure.tcl	2013-07-13 18:57:07 UTC (rev 108136)
@@ -190,15 +190,9 @@
 default configure.ccache        {${configureccache}}
 default configure.distcc        {${configuredistcc}}
 default configure.pipe          {${configurepipe}}
-default configure.cc            {[portconfigure::configure_get_compiler cc]}
-default configure.cxx           {[portconfigure::configure_get_compiler cxx]}
-default configure.cpp           {[portconfigure::configure_get_compiler cpp]}
-default configure.objc          {[portconfigure::configure_get_compiler objc]}
-default configure.objcxx        {[portconfigure::configure_get_compiler objcxx]}
-default configure.f77           {[portconfigure::configure_get_compiler f77]}
-default configure.f90           {[portconfigure::configure_get_compiler f90]}
-default configure.fc            {[portconfigure::configure_get_compiler fc]}
-default configure.javac         {[portconfigure::configure_get_compiler javac]}
+foreach tool {cc cxx objc objcxx cpp f77 f90 fc javac} {
+    default configure.$tool     "\[portconfigure::configure_get_compiler $tool\]"
+}
 default configure.compiler      {[portconfigure::configure_get_default_compiler]}
 default compiler.fallback       {[portconfigure::get_compiler_fallback]}
 default compiler.blacklist      {}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130713/2de4559c/attachment-0001.html>


More information about the macports-changes mailing list