This is not intended for commit since the final release will not be
until December 25. However, if you want to start testing your ruby code
with 2.5.0-preview1, this may be helpful to you.
The port tarball is attached and requires the changes to
lang/ruby/Makefile.inc that I sent earlier. Sorry it is so large even
compressed, this is due to the ri_docs plist.
Inline below is a diff to ruby.port.mk to allow the use of the ruby25
FLAVOR to build ruby25-* packages for gem ports.
Thanks,
Jeremy
Index: lang/ruby/ruby.port.mk
===================================================================
RCS file: /cvs/ports/lang/ruby/ruby.port.mk,v
retrieving revision 1.91
diff -u -p -u -p -r1.91 ruby.port.mk
--- lang/ruby/ruby.port.mk 1 Nov 2017 10:09:23 -0000 1.91
+++ lang/ruby/ruby.port.mk 1 Nov 2017 13:07:12 -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= ruby23 ruby24
+FLAVORS= ruby23 ruby24 ruby25
. if !${CONFIGURE_STYLE:L:Mext}
FLAVORS+= jruby
. endif
@@ -52,11 +52,12 @@ FLAVOR = ruby24
# Check for conflicting FLAVORs and set MODRUBY_REV appropriately based
# on the FLAVOR.
-. for i in ruby23 ruby24 jruby
+. for i in ruby23 ruby24 ruby25 jruby
. if ${FLAVOR:M$i}
MODRUBY_REV = ${i:C/ruby([0-9])/\1./}
. if ${FLAVOR:N$i:Mruby23} || \
${FLAVOR:N$i:Mruby24} || \
+ ${FLAVOR:N$i:Mruby25} || \
${FLAVOR:N$i:Mjruby}
ERRORS += "Fatal: Conflicting flavors used: ${FLAVOR}"
. endif
No comments:
Post a Comment