[90006] trunk/base/src/macports1.0/macports.tcl
jberry at macports.org
jberry at macports.org
Sun Feb 19 09:38:11 PST 2012
Revision: 90006
http://trac.macports.org/changeset/90006
Author: jberry at macports.org
Date: 2012-02-19 09:38:10 -0800 (Sun, 19 Feb 2012)
Log Message:
-----------
Xcode 2 versions don't have xcode-select; make sure the developer directory is properly set for these too.
Modified Paths:
--------------
trunk/base/src/macports1.0/macports.tcl
Modified: trunk/base/src/macports1.0/macports.tcl
===================================================================
--- trunk/base/src/macports1.0/macports.tcl 2012-02-19 17:35:11 UTC (rev 90005)
+++ trunk/base/src/macports1.0/macports.tcl 2012-02-19 17:38:10 UTC (rev 90006)
@@ -453,17 +453,18 @@
}
ui_error
}
- # Try the default
- if {$os_major >= 11 && [vercmp $xcodeversion 4.3] >= 0} {
- set devdir "/Applications/Xcode.app/Contents/Developer"
- } else {
- set devdir "/Developer"
- }
- if {![_is_valid_developer_dir $devdir]} {
- ui_error "No valid Xcode installation was found. Please install or correctly select Xcode."
- }
}
+ # Try the default
+ if {$os_major >= 11 && [vercmp $xcodeversion 4.3] >= 0} {
+ set devdir "/Applications/Xcode.app/Contents/Developer"
+ } else {
+ set devdir "/Developer"
+ }
+ if {![_is_valid_developer_dir $devdir]} {
+ ui_error "No valid Xcode installation was found. Please install or correctly select Xcode using xcode-select."
+ }
+
return $devdir
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120219/85b63ae5/attachment.html>
More information about the macports-changes
mailing list