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

afb at macports.org afb at macports.org
Sun Jan 27 12:32:10 PST 2008


Revision: 33482
          http://trac.macosforge.org/projects/macports/changeset/33482
Author:   afb at macports.org
Date:     2008-01-27 12:32:06 -0800 (Sun, 27 Jan 2008)

Log Message:
-----------
get default universal_args from a function

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

Modified: trunk/base/src/port1.0/portconfigure.tcl
===================================================================
--- trunk/base/src/port1.0/portconfigure.tcl	2008-01-27 20:11:34 UTC (rev 33481)
+++ trunk/base/src/port1.0/portconfigure.tcl	2008-01-27 20:32:06 UTC (rev 33482)
@@ -87,7 +87,7 @@
 default configure.universal_target      {${target}}
 default configure.universal_sysroot     {${sysroot}}
 default configure.universal_archs       {${universal_archs}}
-default configure.universal_args        --disable-dependency-tracking
+default configure.universal_args        {[configure_get_universal_args]}
 default configure.universal_cflags      {[configure_get_universal_cflags]}
 default configure.universal_cppflags    {[configure_get_universal_cppflags]}
 default configure.universal_cxxflags    {[configure_get_universal_cflags]}
@@ -116,6 +116,12 @@
     ui_msg "$UI_PREFIX [format [msgcat::mc "Configuring %s"] [option portname]]"
 }
 
+# internal function to determine the universal args for configure.cmd
+proc configure_get_universal_args {args} {
+    set params "--disable-dependency-tracking"
+    return $params
+}
+
 # internal function to determine the "-arch xy" flags for the compiler
 proc configure_get_universal_archflags {args} {
     global configure.universal_archs

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080127/d7d5a3de/attachment.html


More information about the macports-changes mailing list