<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/c4f137d2d1ad757d4dbbb49d139e8a6d1668f252">https://github.com/macports/macports-ports/commit/c4f137d2d1ad757d4dbbb49d139e8a6d1668f252</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 c4f137d2d1a lang/ruby: stop support of ruby-1.8 with macOS 11 or Xcode 12
</span>c4f137d2d1a is described below
<span style='display:block; white-space:pre;color:#808000;'>commit c4f137d2d1ad757d4dbbb49d139e8a6d1668f252
</span>Author: kimura wataru <kimuraw@macports.org>
AuthorDate: Sat Dec 26 23:26:03 2020 +0900
<span style='display:block; white-space:pre;color:#404040;'> lang/ruby: stop support of ruby-1.8 with macOS 11 or Xcode 12
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> too many build errors "implicit declaration" with Xcode 12.
</span><span style='display:block; white-space:pre;color:#404040;'> ruby-1.8.7 EOLed at July 2014.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> see https://trac.macports.org/ticket/61255
</span>---
lang/ruby/Portfile | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/ruby/Portfile b/lang/ruby/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 7fe50b78607..9ea3d365b61 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/ruby/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/ruby/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -170,6 +170,22 @@ post-destroot {
</span> platform darwin {
# for proper rdoc/ri creation, make sure to link to destroot libruby.dylib
destroot.env DYLD_LIBRARY_PATH=${destroot}${prefix}/lib
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # ruby-1.8 cannot build with Xcode 12 (#61255)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # macOS 11
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${os.major} >= 20} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ pre-fetch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ui_error "${name} does not support macOS 11 or later."
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ return -code error "incompatible macOS version"
</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;'>+ # macOS 10.15
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${os.major} == 19 || [vercmp ${xcodeversion} 12.0] >= 0} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ pre-fetch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ui_error "${name} does not support Xcode 12 or later."
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ return -code error "incompatible Xcode version"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span> }
variant tk conflicts mactk description "enable tk support" {
</pre><pre style='margin:0'>
</pre>