aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYasuhiro Kimura <yasu@FreeBSD.org>2022-04-04 15:30:28 +0000
committerYasuhiro Kimura <yasu@FreeBSD.org>2022-04-20 06:56:58 +0000
commit765bd7e40ee2e44555c8ee72cd5a77c33f4f5e5a (patch)
tree3520bb83b8690f743f6dda941e47e16e9f049be0
parent3599bedde4d4b228ece36c67ff78974e37347f43 (diff)
www/h2o-devel: Mark BROKEN with Ruby 3.x when MRUBY option is enabled
MRBC mrblib/hash.rb MRBC mrblib/kernel.rb MRBC mrblib/numeric.rb MRBC mrblib/range.rb MRBC mrblib/string.rb MRBC mrblib/symbol.rb rake aborted! wrong number of arguments (given 2, expected 1) Rakefile:37:in `install_D' *** Error code 1 Stop. PR: 263054 Approved by: maintainer timeout
-rw-r--r--www/h2o-devel/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/www/h2o-devel/Makefile b/www/h2o-devel/Makefile
index fa40effda550..f78724e0ab0f 100644
--- a/www/h2o-devel/Makefile
+++ b/www/h2o-devel/Makefile
@@ -58,6 +58,13 @@ MRUBY_USES= bison
MRUBY_USE= ruby=yes
MRUBY_VARS= RUBY_NO_RUN_DEPENDS=yes
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MMRUBY}
+BROKEN_RUBY30= yes
+BROKEN_RUBY31= yes
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|exec perl|exec ${LOCALBASE}/bin/perl|' \
${WRKSRC}/share/h2o/annotate-backtrace-symbols \