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

cal at macports.org cal at macports.org
Fri Feb 24 12:53:03 PST 2012


Revision: 90169
          http://trac.macports.org/changeset/90169
Author:   cal at macports.org
Date:     2012-02-24 12:53:03 -0800 (Fri, 24 Feb 2012)
Log Message:
-----------
Fix inverted logic in check for Xcode version

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

Modified: trunk/base/src/port1.0/portconfigure.tcl
===================================================================
--- trunk/base/src/port1.0/portconfigure.tcl	2012-02-24 20:42:33 UTC (rev 90168)
+++ trunk/base/src/port1.0/portconfigure.tcl	2012-02-24 20:53:03 UTC (rev 90169)
@@ -305,7 +305,7 @@
     global developer_dir macosx_deployment_target macosx_version xcodeversion os.arch os.platform
     if {${os.platform} == "darwin" && ($macosx_deployment_target != $macosx_version
         || (${os.arch} == "powerpc" && $macosx_version == "10.4" && [variant_exists universal] && [variant_isset universal]))} {
-        if {[vercmp $xcodeversion 4.3] >= 0} {
+        if {[vercmp $xcodeversion 4.3] < 0} {
             set sdks_dir "${developer_dir}/SDKs"
         } else {
             set sdks_dir "${developer_dir}/Platforms/MacOSX.platform/Developer/SDKs"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120224/b501f33e/attachment.html>


More information about the macports-changes mailing list