[31411] trunk/base/src/port1.0/portmain.tcl
nox at macports.org
nox at macports.org
Thu Nov 22 09:39:50 PST 2007
Revision: 31411
http://trac.macosforge.org/projects/macports/changeset/31411
Author: nox at macports.org
Date: 2007-11-22 09:39:49 -0800 (Thu, 22 Nov 2007)
Log Message:
-----------
portmain.tcl:
* Now uses {{{eval}}} in the default universal variant to flatten the
different configure arguments. If we don't do that, we end up with
something like "-O2 {-isysroot ...}", which we need to manually
{{{join}}} to use it in a {{{system}}} call (e.g. in unrar port).
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-11-22 17:35:48 UTC (rev 31410)
+++ trunk/base/src/port1.0/portmain.tcl 2007-11-22 17:39:49 UTC (rev 31411)
@@ -105,14 +105,14 @@
if {[tbool use_xmkmf] || ![tbool use_configure]} {
return -code error "Default universal variant only works with ports based on configure"
}
- configure.args-append ${configure.universal_args}
+ eval configure.args-append ${configure.universal_args}
if {![file exists /Developer/SDKs/MacOSX10.4u.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"
}
- configure.cflags-append ${configure.universal_cflags}
- configure.cppflags-append ${configure.universal_cppflags}
- configure.cxxflags-append ${configure.universal_cxxflags}
- configure.ldflags-append ${configure.universal_ldflags}
+ eval configure.cflags-append ${configure.universal_cflags}
+ eval configure.cppflags-append ${configure.universal_cppflags}
+ eval configure.cxxflags-append ${configure.universal_cxxflags}
+ eval configure.ldflags-append ${configure.universal_ldflags}
}
# This is not a standard option, because we need to take an action when it's
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20071122/c62a5a68/attachment.html
More information about the macports-changes
mailing list