[52444] trunk/dports/_resources/port1.0/group/xcode-1.0.tcl

toby at macports.org toby at macports.org
Tue Jun 16 15:26:08 PDT 2009


Revision: 52444
          http://trac.macports.org/changeset/52444
Author:   toby at macports.org
Date:     2009-06-16 15:26:07 -0700 (Tue, 16 Jun 2009)
Log Message:
-----------
fix for 1.7

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

Modified: trunk/dports/_resources/port1.0/group/xcode-1.0.tcl
===================================================================
--- trunk/dports/_resources/port1.0/group/xcode-1.0.tcl	2009-06-16 22:18:22 UTC (rev 52443)
+++ trunk/dports/_resources/port1.0/group/xcode-1.0.tcl	2009-06-16 22:26:07 UTC (rev 52444)
@@ -277,7 +277,11 @@
 
     # SDKROOT
     if {[variant_isset universal] && ${os.arch} == "powerpc" && ${os.major} == "8"} {
-        set xcode_build_args "SDKROOT=\"${developer_dir}/SDKs/MacOSX10.4u.sdk\" $xcode_build_args"
+        if {[info exists developer_dir]} {
+            set xcode_build_args "SDKROOT=\"${developer_dir}/SDKs/MacOSX10.4u.sdk\" $xcode_build_args"
+        } else {
+            set xcode_build_args "SDKROOT=\"/Developer/SDKs/MacOSX10.4u.sdk\" $xcode_build_args"
+        }
     } else {
         set xcode_build_args "SDKROOT= $xcode_build_args"
     }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090616/633c55fb/attachment.html>


More information about the macports-changes mailing list