[112192] trunk/base/src/macports1.0/macports.tcl
jeremyhu at macports.org
jeremyhu at macports.org
Mon Oct 14 16:53:50 PDT 2013
Revision: 112192
https://trac.macports.org/changeset/112192
Author: jeremyhu at macports.org
Date: 2013-10-14 16:53:50 -0700 (Mon, 14 Oct 2013)
Log Message:
-----------
Revert r112183 until other bugs in base get fixed first (see macports-dev)
Revision Links:
--------------
https://trac.macports.org/changeset/112183
Modified Paths:
--------------
trunk/base/src/macports1.0/macports.tcl
Modified: trunk/base/src/macports1.0/macports.tcl
===================================================================
--- trunk/base/src/macports1.0/macports.tcl 2013-10-14 23:30:45 UTC (rev 112191)
+++ trunk/base/src/macports1.0/macports.tcl 2013-10-14 23:53:50 UTC (rev 112192)
@@ -597,7 +597,8 @@
set os_endian [string range $tcl_platform(byteOrder) 0 end-6]
set macosx_version {}
if {$os_platform eq {darwin}} {
- set macosx_version [exec sw_vers -productVersion]
+ # This will probably break when Apple changes versioning
+ set macosx_version 10.[expr {$os_major - 4}]
}
# Ensure that the macports user directory (i.e. ~/.macports) exists if HOME is defined.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20131014/ad721ccd/attachment.html>
More information about the macports-changes
mailing list