[66303] trunk/base/src/port1.0/portmain.tcl
raimue at macports.org
raimue at macports.org
Thu Apr 8 17:05:45 PDT 2010
Revision: 66303
http://trac.macports.org/changeset/66303
Author: raimue at macports.org
Date: 2010-04-08 17:05:41 -0700 (Thu, 08 Apr 2010)
Log Message:
-----------
Fix build failure, use [option] as we do not have access to the global scope
Modified Paths:
--------------
trunk/base/src/port1.0/portmain.tcl
Modified: trunk/base/src/port1.0/portmain.tcl
===================================================================
--- trunk/base/src/port1.0/portmain.tcl 2010-04-08 23:48:50 UTC (rev 66302)
+++ trunk/base/src/port1.0/portmain.tcl 2010-04-09 00:05:41 UTC (rev 66303)
@@ -112,7 +112,7 @@
default universal_variant yes
# sub-platforms of darwin
-if {${os.platform} == "darwin"} {
+if {[option os.platform] == "darwin"} {
if {[file isdirectory /System/Library/Frameworks/Carbon.framework]} {
default os.subplatform macosx
} else {
@@ -121,7 +121,7 @@
}
# check if we're on Mac OS X and can therefore build universal
-if {[info exists os.subplatform] && ${os.subplatform} == "macosx"} {
+if {[exists os.subplatform] && [option os.subplatform] == "macosx"} {
# the universal variant itself is now created in
# universal_setup, which is called from mportopen
default os.universal_supported yes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100408/5aa0f8af/attachment.html>
More information about the macports-changes
mailing list