summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--math/ruby-gsl/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/math/ruby-gsl/Makefile b/math/ruby-gsl/Makefile
index cd06dece8004..74f45b663544 100644
--- a/math/ruby-gsl/Makefile
+++ b/math/ruby-gsl/Makefile
@@ -46,4 +46,10 @@ post-install:
${MKDIR} ${STAGEDIR}${RUBY_MODDOCDIR}
cd ${WRKSRC} && ${COPYTREE_SHARE} "${DOCS}" ${STAGEDIR}${RUBY_MODDOCDIR}/
-.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>