aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/bsd.ruby.mk
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2015-08-29 18:02:33 +0800
committersunpoet <sunpoet@FreeBSD.org>2015-08-29 18:02:33 +0800
commit9a74c07c64f269c8eb266e40db01108f510498f8 (patch)
tree07a3d48bedb295d227271a64d7a97062f621a840 /Mk/bsd.ruby.mk
parent21b8e942dea5d32c55410e63aaf6d4b58da7a549 (diff)
downloadfreebsd-ports-gnome-9a74c07c64f269c8eb266e40db01108f510498f8.tar.gz
freebsd-ports-gnome-9a74c07c64f269c8eb266e40db01108f510498f8.tar.zst
freebsd-ports-gnome-9a74c07c64f269c8eb266e40db01108f510498f8.zip
- Add BROKEN_RUBYxx to simplify Makefile
Differential Revision: https://reviews.FreeBSD.org/D2239 Reviewed by: swills (portmgr, ruby)
Diffstat (limited to 'Mk/bsd.ruby.mk')
-rw-r--r--Mk/bsd.ruby.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/Mk/bsd.ruby.mk b/Mk/bsd.ruby.mk
index a4f30229309c..292b50d19dab 100644
--- a/Mk/bsd.ruby.mk
+++ b/Mk/bsd.ruby.mk
@@ -212,6 +212,14 @@ RUBY20?= "@comment "
RUBY21?= "@comment "
RUBY22?= "@comment "
+.if defined(BROKEN_RUBY${RUBY_VER:R}${RUBY_VER:E})
+.if ${BROKEN_RUBY${RUBY_VER:R}${RUBY_VER:E}} == "yes"
+BROKEN= does not build with Ruby ${RUBY_VER}
+.else
+BROKEN= ${BROKEN_RUBY${RUBY_VER:R}${RUBY_VER:E}}
+.endif
+.endif
+
.if ${RUBY_PATCHLEVEL} == 0
RUBY_VERSION?= ${RUBY_RELVERSION}
RUBY_DISTVERSION?= ${RUBY_RELVERSION}