svn commit: r395539 - head/Mk
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sat Aug 29 10:02:34 UTC 2015
Author: sunpoet
Date: Sat Aug 29 10:02:33 2015
New Revision: 395539
URL: https://svnweb.freebsd.org/changeset/ports/395539
Log:
- Add BROKEN_RUBYxx to simplify Makefile
Differential Revision: https://reviews.FreeBSD.org/D2239
Reviewed by: swills (portmgr, ruby)
Modified:
head/Mk/bsd.ruby.mk
Modified: head/Mk/bsd.ruby.mk
==============================================================================
--- head/Mk/bsd.ruby.mk Sat Aug 29 10:00:05 2015 (r395538)
+++ head/Mk/bsd.ruby.mk Sat Aug 29 10:02:33 2015 (r395539)
@@ -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}
More information about the svn-ports-all
mailing list