[67639] trunk/dports/_resources/port1.0/group/xcodeversion-1.0.tcl

jmr at macports.org jmr at macports.org
Sat May 15 04:15:00 PDT 2010


Revision: 67639
          http://trac.macports.org/changeset/67639
Author:   jmr at macports.org
Date:     2010-05-15 04:14:57 -0700 (Sat, 15 May 2010)
Log Message:
-----------
xcodeversion portgroup: remove developer_dir fallback

Modified Paths:
--------------
    trunk/dports/_resources/port1.0/group/xcodeversion-1.0.tcl

Modified: trunk/dports/_resources/port1.0/group/xcodeversion-1.0.tcl
===================================================================
--- trunk/dports/_resources/port1.0/group/xcodeversion-1.0.tcl	2010-05-15 11:10:58 UTC (rev 67638)
+++ trunk/dports/_resources/port1.0/group/xcodeversion-1.0.tcl	2010-05-15 11:14:57 UTC (rev 67639)
@@ -45,13 +45,6 @@
 
 pre-extract {
     if {"darwin" == ${os.platform}} {
-        if {![info exists developer_dir]} {
-            if {${os.major} < 9} {
-                set developer_dir /Developer
-            } else {
-                set developer_dir [exec xcode-select -print-path]
-            }
-        }
         set current_xcodeversion [exec defaults read ${developer_dir}/Applications/Xcode.app/Contents/Info CFBundleShortVersionString]
         foreach {darwin_major minimum_xcodeversion} [join ${minimum_xcodeversions}] {
             if {${darwin_major} == ${os.major}} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100515/da9e6e5e/attachment.html>


More information about the macports-changes mailing list