[33053] trunk/base/src/port1.0/portmain.tcl

afb at macports.org afb at macports.org
Wed Jan 16 23:15:57 PST 2008


Revision: 33053
          http://trac.macosforge.org/projects/macports/changeset/33053
Author:   afb at macports.org
Date:     2008-01-16 23:15:55 -0800 (Wed, 16 Jan 2008)

Log Message:
-----------
look for either of 10.4u or 10.5 SDK, just like portconfigure

Modified Paths:
--------------
    trunk/base/src/port1.0/portmain.tcl

Modified: trunk/base/src/port1.0/portmain.tcl
===================================================================
--- trunk/base/src/port1.0/portmain.tcl	2008-01-17 06:47:06 UTC (rev 33052)
+++ trunk/base/src/port1.0/portmain.tcl	2008-01-17 07:15:55 UTC (rev 33053)
@@ -106,7 +106,8 @@
             return -code error "Default universal variant only works with ports based on configure"
         }
         eval configure.args-append ${configure.universal_args}
-        if {![file exists /Developer/SDKs/MacOSX10.4u.sdk/]} {
+        if {![file exists /Developer/SDKs/MacOSX10.4u.sdk] &&
+            ![file exists /Developer/SDKs/MacOSX10.5.sdk]} {
             return -code error "MacOS X 10.4 universal SDK is not installed (are we running on 10.3? did you forget to install it?) and building with +universal will very likely fail"
         }
         eval configure.cflags-append ${configure.universal_cflags}

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080116/73158c31/attachment.html


More information about the macports-changes mailing list