git: 765bd7e40ee2 - main - www/h2o-devel: Mark BROKEN with Ruby 3.x when MRUBY option is enabled
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 20 Apr 2022 06:59:46 UTC
The branch main has been updated by yasu:
URL: https://cgit.FreeBSD.org/ports/commit/?id=765bd7e40ee2e44555c8ee72cd5a77c33f4f5e5a
commit 765bd7e40ee2e44555c8ee72cd5a77c33f4f5e5a
Author: Yasuhiro Kimura <yasu@FreeBSD.org>
AuthorDate: 2022-04-04 15:30:28 +0000
Commit: Yasuhiro Kimura <yasu@FreeBSD.org>
CommitDate: 2022-04-20 06:56:58 +0000
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
---
www/h2o-devel/Makefile | 7 +++++++
1 file changed, 7 insertions(+)
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 \