aboutsummaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
Diffstat (limited to 'archivers')
-rw-r--r--archivers/rubygem-minitar-cli/Makefile3
-rw-r--r--archivers/rubygem-minitar-cli/files/patch-gemspec11
2 files changed, 13 insertions, 1 deletions
diff --git a/archivers/rubygem-minitar-cli/Makefile b/archivers/rubygem-minitar-cli/Makefile
index 612e3129f165..eca024f1f726 100644
--- a/archivers/rubygem-minitar-cli/Makefile
+++ b/archivers/rubygem-minitar-cli/Makefile
@@ -3,6 +3,7 @@
PORTNAME= minitar-cli
PORTVERSION= 0.8
+PORTREVISION= 1
CATEGORIES= archivers rubygems
MASTER_SITES= RG
@@ -14,7 +15,7 @@ LICENSE_COMB= dual
LICENSE_FILE_BSD2CLAUSE=${WRKSRC}/docs/bsdl.txt
LICENSE_FILE_RUBY= ${WRKSRC}/docs/ruby.txt
-RUN_DEPENDS= rubygem-minitar>=0.8.0<0.9:archivers/rubygem-minitar \
+RUN_DEPENDS= rubygem-minitar>=0.8.0<1:archivers/rubygem-minitar \
rubygem-powerbar>=1.0<2:devel/rubygem-powerbar
USES= gem
diff --git a/archivers/rubygem-minitar-cli/files/patch-gemspec b/archivers/rubygem-minitar-cli/files/patch-gemspec
new file mode 100644
index 000000000000..d9670454b8a2
--- /dev/null
+++ b/archivers/rubygem-minitar-cli/files/patch-gemspec
@@ -0,0 +1,11 @@
+--- minitar-cli.gemspec.orig 2019-09-05 12:53:52 UTC
++++ minitar-cli.gemspec
+@@ -25,7 +25,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<minitar>.freeze, ["~> 0.8.0"])
++ s.add_runtime_dependency(%q<minitar>.freeze, ["~> 0.8"])
+ s.add_runtime_dependency(%q<powerbar>.freeze, ["~> 1.0"])
+ s.add_development_dependency(%q<minitest>.freeze, ["~> 5.11"])
+ s.add_development_dependency(%q<hoe-doofus>.freeze, ["~> 1.0"])