From 1be0656d21f85db07e164481e33bc3ef2c7b7b4e Mon Sep 17 00:00:00 2001 From: Steve Wills Date: Wed, 12 Nov 2014 03:36:03 +0000 Subject: [PATCH] sysutils/puppet27: Mark broken with Ruby 2.0 and 2.1 Technically any Ruby version 1.9 or newer isn't supported: https://docs.puppetlabs.com/guides/platforms.html#ruby-versions but I didn't hear any complaints about Puppet 2.7 not working until 2.0 became default, so leave it for now, instead of deleting it. --- sysutils/puppet27/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sysutils/puppet27/Makefile b/sysutils/puppet27/Makefile index ab35b867b263..f225fe20d383 100644 --- a/sysutils/puppet27/Makefile +++ b/sysutils/puppet27/Makefile @@ -101,4 +101,10 @@ post-install: .endif @${CAT} ${PKGMESSAGE} +.include + +.if ${RUBY_VER} >= 2.0 +BROKEN= Does not work with Ruby 2.0 or Ruby 2.1 +.endif + .include