[58441] trunk/base/src/port1.0/portmain.tcl

blb at macports.org blb at macports.org
Mon Sep 28 13:01:20 PDT 2009


Revision: 58441
          http://trac.macports.org/changeset/58441
Author:   blb at macports.org
Date:     2009-09-28 13:01:17 -0700 (Mon, 28 Sep 2009)
Log Message:
-----------
port1.0/portmain.tcl - shorten OS info debug output to one line

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

Modified: trunk/base/src/port1.0/portmain.tcl
===================================================================
--- trunk/base/src/port1.0/portmain.tcl	2009-09-28 19:57:07 UTC (rev 58440)
+++ trunk/base/src/port1.0/portmain.tcl	2009-09-28 20:01:17 UTC (rev 58441)
@@ -96,18 +96,14 @@
 default os.universal_supported no
 
 set macosx_version {}
+set macosx_version_text {}
 if {$os_platform == "darwin"} {
     # This will probably break when Apple changes versioning
     set macosx_version [expr 10.0 + ($os_major - 4) / 10.0]
+    set macosx_version_text "(Mac OS X ${macosx_version}) "
 }
+ui_debug "OS [option os.platform]/[option os.version] ${macosx_version_text}arch [option os.arch]"
 
-ui_debug "OS Platform: [option os.platform]"
-ui_debug "OS Version: [option os.version]"
-if {$macosx_version != ""} {
-    ui_debug "Mac OS X Version: ${macosx_version}"
-}
-ui_debug "System Arch: [option os.arch]"
-
 default macosx_deployment_target {$macosx_version}
 
 default universal_variant yes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090928/fca19751/attachment.html>


More information about the macports-changes mailing list