<pre style='margin:0'>
kimura wataru (kimuraw) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/599ea81add0d18a2509e5758cfcd7ec82cbce7a3">https://github.com/macports/macports-ports/commit/599ea81add0d18a2509e5758cfcd7ec82cbce7a3</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 599ea81 lang/ruby25: fix build error on MacOS X 10.5 Leopard or earlier
</span>599ea81 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 599ea81add0d18a2509e5758cfcd7ec82cbce7a3
</span>Author: kimura wataru <kimuraw@macports.org>
AuthorDate: Tue Sep 4 21:23:19 2018 +0900
<span style='display:block; white-space:pre;color:#404040;'> lang/ruby25: fix build error on MacOS X 10.5 Leopard or earlier
</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/57038
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> - ruby25 requires gmake 3.81 or later.
</span><span style='display:block; white-space:pre;color:#404040;'> - Xcode 3.0 is the first version that contains gmake 3.81.
</span><span style='display:block; white-space:pre;color:#404040;'> (see https://opensource.apple.com/)
</span><span style='display:block; white-space:pre;color:#404040;'> - Xcode 3.0 shipped with MacOS X 10.5 but Xcode 2.5 is available on 10.5/10.4.
</span>---
lang/ruby25/Portfile | 6 ++++++
1 file changed, 6 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/ruby25/Portfile b/lang/ruby25/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 7bfcf77..52ec81c 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/ruby25/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/ruby25/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -43,6 +43,12 @@ depends_run port:ruby_select
</span> depends_build port:pkgconfig
depends_skip_archcheck pkgconfig
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# requires gmake 3.81 or later
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${os.major} < 10} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_build-append port:gmake
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build.cmd ${prefix}/bin/gmake
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> select.group ruby
select.file ${filespath}/ruby25
</pre><pre style='margin:0'>
</pre>