aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--irc/iroffer-dinoex/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/irc/iroffer-dinoex/Makefile b/irc/iroffer-dinoex/Makefile
index 26dc7fdaecdd..abc9e45feee6 100644
--- a/irc/iroffer-dinoex/Makefile
+++ b/irc/iroffer-dinoex/Makefile
@@ -44,7 +44,10 @@ CONFIGURE_ARGS+= -upnp
USE_RUBY= yes
CONFIGURE_ARGS+= -ruby
.include "${PORTSDIR}/Mk/bsd.ruby.mk"
-CFLAGS+= -Drb_errinfo=ruby_errinfo
+
+post-configure:
+ ${REINPLACE_CMD} -e 's|RFLOAT_VALUE|USE_RUBYVERSION_19|' \
+ ${WRKSRC}/src/dinoex_ruby.c
.endif
do-install: