[90111] trunk/base/src/port1.0/portutil.tcl

dports at macports.org dports at macports.org
Wed Feb 22 00:16:00 PST 2012


Revision: 90111
          http://trac.macports.org/changeset/90111
Author:   dports at macports.org
Date:     2012-02-22 00:15:57 -0800 (Wed, 22 Feb 2012)
Log Message:
-----------
Check for the Xcode command line tools if it looks like Xcode 4.3 is
installed, even if xcodebuild failed because it hasn't been properly
xcode-select'd.

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

Modified: trunk/base/src/port1.0/portutil.tcl
===================================================================
--- trunk/base/src/port1.0/portutil.tcl	2012-02-22 07:54:27 UTC (rev 90110)
+++ trunk/base/src/port1.0/portutil.tcl	2012-02-22 08:15:57 UTC (rev 90111)
@@ -2817,7 +2817,8 @@
 
         # Xcode 4.3 requires the command-line utilities package to be
         # installed. 
-        if {[vercmp $xcodeversion 4.3] >= 0} {
+        if {[vercmp $xcodeversion 4.3] >= 0 ||
+            ($xcodeversion == "none" && [file exists "/Applications/Xcode.app"])} {
             if {![file exists "/usr/bin/make"]} {
                 ui_warn "The Command Line Tools for Xcode don't appear to be installed; most ports will likely fail to build."
                 ui_warn "See http://guide.macports.org/chunked/installing.xcode.html for more information."
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120222/eee85801/attachment.html>


More information about the macports-changes mailing list