aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--finance/rubygem-money/Makefile1
-rw-r--r--finance/rubygem-money/files/patch-gemspec11
2 files changed, 12 insertions, 0 deletions
diff --git a/finance/rubygem-money/Makefile b/finance/rubygem-money/Makefile
index e546ac52a1d3..a38a328f6eca 100644
--- a/finance/rubygem-money/Makefile
+++ b/finance/rubygem-money/Makefile
@@ -3,6 +3,7 @@
PORTNAME= money
PORTVERSION= 6.8.1
+PORTREVISION= 1
CATEGORIES= finance rubygems
MASTER_SITES= RG
diff --git a/finance/rubygem-money/files/patch-gemspec b/finance/rubygem-money/files/patch-gemspec
new file mode 100644
index 000000000000..6b49bfb713a8
--- /dev/null
+++ b/finance/rubygem-money/files/patch-gemspec
@@ -0,0 +1,11 @@
+--- money.gemspec.orig 2017-02-01 18:15:57 UTC
++++ money.gemspec
+@@ -22,7 +22,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<i18n>.freeze, ["<= 0.7.0", ">= 0.6.4"])
++ s.add_runtime_dependency(%q<i18n>.freeze, [">= 0.6.4"])
+ s.add_runtime_dependency(%q<sixarm_ruby_unaccent>.freeze, ["< 2", ">= 1.1.1"])
+ s.add_development_dependency(%q<bundler>.freeze, ["~> 1.3"])
+ s.add_development_dependency(%q<rake>.freeze, [">= 0"])