<pre style='margin:0'>
Jeremy Huddleston Sequoia (jeremyhu) pushed a commit to branch master
in repository macports-base.
</pre>
<p><a href="https://github.com/macports/macports-base/commit/fbdd6a5c8287d09b3bc9ef908fb8211ff6dd6663">https://github.com/macports/macports-base/commit/fbdd6a5c8287d09b3bc9ef908fb8211ff6dd6663</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit fbdd6a5c8287d09b3bc9ef908fb8211ff6dd6663
</span>Author: Jeremy Huddleston Sequoia <jeremyhu@macports.org>
AuthorDate: Mon Jul 3 21:04:40 2017 -0700
<span style='display:block; white-space:pre;color:#404040;'> portconfigure: Look in /Library/Developer/CommandLineTools/SDKs/ for our versioned SDK if we can't find it in Xcode
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@macports.org>
</span>---
src/port1.0/portconfigure.tcl | 5 +++++
1 file changed, 5 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/src/port1.0/portconfigure.tcl b/src/port1.0/portconfigure.tcl
</span><span style='display:block; white-space:pre;color:#808080;'>index fa21ead..fb305a6 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/src/port1.0/portconfigure.tcl
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/src/port1.0/portconfigure.tcl
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -414,6 +414,11 @@ proc portconfigure::configure_get_sdkroot {sdk_version} {
</span> return $sdk
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ set sdk /Library/Developer/CommandLineTools/SDKs/MacOSX${sdk_version}.sdk
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {[file exists $sdk]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ return $sdk
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> if {![catch {set sdk [exec xcrun --sdk macosx --show-sdk-path 2> /dev/null]}]} {
ui_warn "Unable to determine location of the macOS ${sdk_version} SDK. Using the default macOS SDK."
return $sdk
</pre><pre style='margin:0'>
</pre>