This is not intended for commit, but if anyone wants to play around with
the first preview release of Ruby 2.7.0, you can use the attached
tarball. Release announcment at:
https://www.ruby-lang.org/en/news/2019/05/30/ruby-2-7-0-preview1-released/
Below is a ruby.port.mk diff in case you want to build ruby27-* packages
for ruby gem ports.
Thanks,
Jeremy
Index: lang/ruby/ruby.port.mk
===================================================================
RCS file: /cvs/ports/lang/ruby/ruby.port.mk,v
retrieving revision 1.97
diff -u -p -r1.97 ruby.port.mk
--- lang/ruby/ruby.port.mk 29 Apr 2019 00:35:58 -0000 1.97
+++ lang/ruby/ruby.port.mk 31 May 2019 18:47:05 -0000
@@ -24,7 +24,7 @@ MODRUBY_HANDLE_FLAVORS ?= No
# If ruby.pork.mk should handle FLAVORs, define a separate FLAVOR
# for each ruby interpreter
. if !defined(FLAVORS)
-FLAVORS= ruby24 ruby25 ruby26
+FLAVORS= ruby24 ruby25 ruby26 ruby27
. if !${CONFIGURE_STYLE:L:Mext}
FLAVORS+= jruby
. endif
@@ -52,12 +52,13 @@ FLAVOR = ruby26
# Check for conflicting FLAVORs and set MODRUBY_REV appropriately based
# on the FLAVOR.
-. for i in ruby24 ruby25 ruby26 jruby
+. for i in ruby24 ruby25 ruby26 ruby27 jruby
. if ${FLAVOR:M$i}
MODRUBY_REV = ${i:C/ruby([0-9])/\1./}
. if ${FLAVOR:N$i:Mruby24} || \
${FLAVOR:N$i:Mruby25} || \
${FLAVOR:N$i:Mruby26} || \
+ ${FLAVOR:N$i:Mruby27} || \
${FLAVOR:N$i:Mjruby}
ERRORS += "Fatal: Conflicting flavors used: ${FLAVOR}"
. endif
No comments:
Post a Comment