summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--x11-toolkits/ruby-fox16/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/x11-toolkits/ruby-fox16/Makefile b/x11-toolkits/ruby-fox16/Makefile
index 4bac520d8af7..269d1a29b60a 100644
--- a/x11-toolkits/ruby-fox16/Makefile
+++ b/x11-toolkits/ruby-fox16/Makefile
@@ -37,4 +37,10 @@ post-configure:
@${REINPLACE_CMD} -e 's|CPPFLAGS = -DHAVE_SYS_TIME_H -DHAVE_SIGNAL_H -I/usr/local/include/fxscintilla -I/usr/local/include/fox-1.6|CPPFLAGS = -ffriend-injection -DHAVE_SYS_TIME_H -DHAVE_SIGNAL_H -I/usr/local/include/fxscintilla -I/usr/local/include/fox-1.6|' \
${WRKSRC}/ext/fox16/Makefile
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${RUBY_VER} >= 2.0
+BROKEN= Does not build with Ruby 2.0 or newer
+.endif
+
+.include <bsd.port.post.mk>