[90009] trunk/base/src/macports1.0/macports.tcl

jmr at macports.org jmr at macports.org
Sun Feb 19 09:52:12 PST 2012


Revision: 90009
          http://trac.macports.org/changeset/90009
Author:   jmr at macports.org
Date:     2012-02-19 09:52:10 -0800 (Sun, 19 Feb 2012)
Log Message:
-----------
without xcode-select we don't even know if we're on OS X

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:45:26 UTC (rev 90008)
+++ trunk/base/src/macports1.0/macports.tcl	2012-02-19 17:52:10 UTC (rev 90009)
@@ -424,7 +424,6 @@
 
     trace remove variable macports::developer_dir read macports::set_developer_dir
 
-    set devdir ""
     # Look for xcodeselect, and make sure it has a valid value
     if {![catch {findBinary xcode-select /usr/bin/xcode-select} xcodeselect]} {
 
@@ -462,10 +461,7 @@
     } 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."
-    }
-    
+
     set macports::developer_dir $devdir
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120219/82be5975/attachment.html>


More information about the macports-changes mailing list