[90111] trunk/base/src/port1.0/portutil.tcl
Revision: 90111 http://trac.macports.org/changeset/90111 Author: dports@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."
participants (1)
-
dports@macports.org