diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2015-08-29 18:02:33 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2015-08-29 18:02:33 +0800 |
commit | 9a74c07c64f269c8eb266e40db01108f510498f8 (patch) | |
tree | 07a3d48bedb295d227271a64d7a97062f621a840 /Mk/bsd.ruby.mk | |
parent | 21b8e942dea5d32c55410e63aaf6d4b58da7a549 (diff) | |
download | freebsd-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.mk | 8 |
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} |