[22325] trunk/base/src/port1.0/portmain.tcl
source_changes at macosforge.org
source_changes at macosforge.org
Mon Feb 26 00:49:00 PST 2007
Revision: 22325
http://trac.macosforge.org/projects/macports/changeset/22325
Author: pguyot at kallisys.net
Date: 2007-02-26 00:49:00 -0800 (Mon, 26 Feb 2007)
Log Message:
-----------
Added a check that the universal SDK is installed when +universal variant is
selected.
Modified Paths:
--------------
trunk/base/src/port1.0/portmain.tcl
Modified: trunk/base/src/port1.0/portmain.tcl
===================================================================
--- trunk/base/src/port1.0/portmain.tcl 2007-02-26 08:38:30 UTC (rev 22324)
+++ trunk/base/src/port1.0/portmain.tcl 2007-02-26 08:49:00 UTC (rev 22325)
@@ -96,7 +96,7 @@
if {[info exists os.platform] && (${os.platform} == "darwin") && ![file isdirectory /System/Library/Frameworks/Carbon.framework] && ![info exists variations(puredarwin)]} { variant_set puredarwin }
if {[info exists os.platform] && (${os.platform} == "darwin") && [file isdirectory /System/Library/Frameworks/Carbon.framework] && ![info exists variations(macosx)]} {
variant_set macosx
- # Declare default universal variant.
+ # Declare default universal variant, on >10.3
variant universal {
if {[tbool use_xmkmf] || ![tbool use_configure]} {
return -code error "Default universal variant only works with ports based on configure"
@@ -105,6 +105,9 @@
if {[info exists configure.env] && [regexp "(^| )(LD|C)FLAGS=" ${configure.env}]} {
ui_warn "This port already overrides CFLAGS or LDFLAGS. The universal variant may break it."
}
+ if {![file exists /Developer/SDKs/MacOSX10.4u.sdk/]} {
+ ui_warn "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"
+ }
configure.env-append ${configure.universal_env}
}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070226/71861270/attachment.html
More information about the macports-changes
mailing list