<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/414716c37144e11d4723bc9a5f2d7a5614b66ef6">https://github.com/macports/macports-base/commit/414716c37144e11d4723bc9a5f2d7a5614b66ef6</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 414716c37144e11d4723bc9a5f2d7a5614b66ef6
</span>Author: Jeremy Huddleston Sequoia <jeremyhu@macports.org>
AuthorDate: Sat Mar 4 17:07:03 2017 -0800
<span style='display:block; white-space:pre;color:#404040;'> portconfigure: Only use the DevSDK if it is present
</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 | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
<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 4048398..68365d1 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;'>@@ -389,8 +389,8 @@ proc portconfigure::configure_get_sdkroot {sdk_version} {
</span> return ${developer_dir}/SDKs//MacOSX10.4u.sdk
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- # Use the DevSDK (eg: /usr/include) if the requested SDK version matches the host version
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if {$sdk_version eq $macosx_version} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Use the DevSDK (eg: /usr/include) if present and the requested SDK version matches the host version
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {$sdk_version eq $macosx_version && [file exists /usr/include]} {
</span> return {}
}
</pre><pre style='margin:0'>
</pre>