<pre style='margin:0'>
Ken (kencu) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/df640a7f7c0d45021a5f700efa0f4275ff132545">https://github.com/macports/macports-ports/commit/df640a7f7c0d45021a5f700efa0f4275ff132545</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new df640a7 ruby26: fix build on lion
</span>df640a7 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit df640a7f7c0d45021a5f700efa0f4275ff132545
</span>Author: kencu <ken.cunningham.webuse@gmail.com>
AuthorDate: Sun Feb 17 21:32:34 2019 -0700
<span style='display:block; white-space:pre;color:#404040;'> ruby26: fix build on lion
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> pulls in 10.8 SDK security features so build against
</span><span style='display:block; white-space:pre;color:#404040;'> 10.8 SDK (available on 10.7 by default)
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> closes: https://trac.macports.org/ticket/57986
</span>---
lang/ruby26/Portfile | 14 ++++++++++++++
1 file changed, 14 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/ruby26/Portfile b/lang/ruby26/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 88b32a0..92243d9 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/ruby26/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/ruby26/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -62,6 +62,20 @@ configure.args --enable-shared \
</span> --program-suffix=2.6 \
--with-rubylibprefix="${prefix}/lib/ruby2.6"
<span style='display:block; white-space:pre;background:#e0ffe0;'>+platform darwin 11 {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Build requires 10.8 SDK, even when targeting 10.7
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # https://trac.macports.org/ticket/57986
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set ten_eight_sdkpath ${developer_dir}/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {[file exists $ten_eight_sdkpath]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.sdkroot $ten_eight_sdkpath
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ pre-fetch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ error "Building $name @${version} on Mac OS X 10.7 requires the MacOSX10.8.sdk to be present in ${developer_dir}/Platforms/MacOSX.platform/Developer/SDKs"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> platform darwin {
if {${os.major} < 10} {
configure.args-append --disable-dtrace
</pre><pre style='margin:0'>
</pre>