<pre style='margin:0'>
Ryan Schmidt (ryandesign) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/b57591fdb8796560575d3a9671fa33863fc79cbe">https://github.com/macports/macports-ports/commit/b57591fdb8796560575d3a9671fa33863fc79cbe</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit b57591fdb8796560575d3a9671fa33863fc79cbe
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Wed Sep 12 22:07:47 2018 -0500
<span style='display:block; white-space:pre;color:#404040;'> xcode-1.0.tcl: Use absolute path to OBJROOT and SYMROOT
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Fixes build of Xcode projects that have sub-projects.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> See: https://stackoverflow.com/questions/11965040/xcodebuilding-a-workspace-and-setting-a-custom-build-path
</span>---
_resources/port1.0/group/xcode-1.0.tcl | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/_resources/port1.0/group/xcode-1.0.tcl b/_resources/port1.0/group/xcode-1.0.tcl
</span><span style='display:block; white-space:pre;color:#808080;'>index 882a47f..aba4242 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/_resources/port1.0/group/xcode-1.0.tcl
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/_resources/port1.0/group/xcode-1.0.tcl
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -220,7 +220,10 @@ proc xcode::get_build_args {args} {
</span> global os.major os.arch
global developer_dir configure.sdkroot
<span style='display:block; white-space:pre;background:#ffe0e0;'>- set xcode_build_args "OBJROOT=build/ SYMROOT=build/"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set xcode_project_dir [file normalize [option build.dir]/[file dirname [option xcode.project]]]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set xcode_build_args ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ append xcode_build_args " OBJROOT=\"${xcode_project_dir}/build/\""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ append xcode_build_args " SYMROOT=\"${xcode_project_dir}/build/\""
</span>
append xcode_build_args " MACOSX_DEPLOYMENT_TARGET=${macosx_deployment_target}"
</pre><pre style='margin:0'>
</pre>