Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Aug 2015 10:02:34 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r395539 - head/Mk
Message-ID:  <201508291002.t7TA2YE8024366@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201508291002.t7TA2YE8024366>