diff --git a/devel/rubygem-commander/Makefile b/devel/rubygem-commander/Makefile index f82d7a113e08..8a84187c179f 100644 --- a/devel/rubygem-commander/Makefile +++ b/devel/rubygem-commander/Makefile @@ -1,5 +1,6 @@ PORTNAME= commander PORTVERSION= 4.6.0 +PORTREVISION= 1 CATEGORIES= devel rubygems MASTER_SITES= RG @@ -10,7 +11,7 @@ WWW= https://github.com/commander-rb/commander LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -RUN_DEPENDS= rubygem-highline>=2.0.0<2.1:devel/rubygem-highline +RUN_DEPENDS= rubygem-highline>=2.0.0<3:devel/rubygem-highline USES= gem diff --git a/devel/rubygem-commander/files/patch-gemspec b/devel/rubygem-commander/files/patch-gemspec new file mode 100644 index 000000000000..857e46438220 --- /dev/null +++ b/devel/rubygem-commander/files/patch-gemspec @@ -0,0 +1,11 @@ +--- commander.gemspec.orig 2023-01-22 21:12:33 UTC ++++ commander.gemspec +@@ -23,7 +23,7 @@ Gem::Specification.new do |s| + + s.specification_version = 4 + +- s.add_runtime_dependency(%q.freeze, ["~> 2.0.0"]) ++ s.add_runtime_dependency(%q.freeze, ["~> 2.0"]) + s.add_development_dependency(%q.freeze, [">= 0"]) + s.add_development_dependency(%q.freeze, ["~> 3.2"]) + s.add_development_dependency(%q.freeze, ["~> 1.12.1"])