aboutsummaryrefslogtreecommitdiffstats
path: root/irc/iroffer-dinoex
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2010-01-16 01:46:10 +0800
committerdinoex <dinoex@FreeBSD.org>2010-01-16 01:46:10 +0800
commit9010bbaa3a85807498b0c1f4d2e4a18c14cb2782 (patch)
tree2bc38b83fae34162e7bc4d969eaeaeaf4b5ff20e /irc/iroffer-dinoex
parent5c2a115d7dcbe79affd8dc96204d5a8aa68a9c39 (diff)
downloadfreebsd-ports-gnome-9010bbaa3a85807498b0c1f4d2e4a18c14cb2782.tar.gz
freebsd-ports-gnome-9010bbaa3a85807498b0c1f4d2e4a18c14cb2782.tar.zst
freebsd-ports-gnome-9010bbaa3a85807498b0c1f4d2e4a18c14cb2782.zip
- fix build after ruby API change
Diffstat (limited to 'irc/iroffer-dinoex')
-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: