From 83da69754be63f5c5ffd88861c3c763fe75bffee Mon Sep 17 00:00:00 2001 From: Sunpoet Po-Chuan Hsieh Date: Mon, 13 Feb 2017 19:02:41 +0000 Subject: [PATCH] Fix gemspec for rubygem-temple 0.8.0 update - Bump PORTREVISION for package change --- devel/rubygem-slim/Makefile | 1 + devel/rubygem-slim/files/patch-gemspec | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 devel/rubygem-slim/files/patch-gemspec diff --git a/devel/rubygem-slim/Makefile b/devel/rubygem-slim/Makefile index e547e4e47bae..5225d43b0612 100644 --- a/devel/rubygem-slim/Makefile +++ b/devel/rubygem-slim/Makefile @@ -2,6 +2,7 @@ PORTNAME= slim PORTVERSION= 3.0.7 +PORTREVISION= 1 CATEGORIES= devel rubygems MASTER_SITES= RG diff --git a/devel/rubygem-slim/files/patch-gemspec b/devel/rubygem-slim/files/patch-gemspec new file mode 100644 index 000000000000..01e72fc65076 --- /dev/null +++ b/devel/rubygem-slim/files/patch-gemspec @@ -0,0 +1,11 @@ +--- slim.gemspec.orig 2017-02-13 17:56:30 UTC ++++ slim.gemspec +@@ -23,7 +23,7 @@ Gem::Specification.new do |s| + s.specification_version = 4 + + if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then +- s.add_runtime_dependency(%q.freeze, ["~> 0.7.6"]) ++ s.add_runtime_dependency(%q.freeze, [">= 0.7.6"]) + s.add_runtime_dependency(%q.freeze, ["< 2.1", ">= 1.3.3"]) + else + s.add_dependency(%q.freeze, ["~> 0.7.6"])