diff --git a/www/rubygem-http3/Makefile b/www/rubygem-http3/Makefile index 2c218221a625..f273a6bbe4b7 100644 --- a/www/rubygem-http3/Makefile +++ b/www/rubygem-http3/Makefile @@ -1,27 +1,28 @@ # Created by: Sunpoet Po-Chuan Hsieh PORTNAME= http PORTVERSION= 3.3.0 +PORTREVISION= 1 CATEGORIES= www rubygems MASTER_SITES= RG PKGNAMESUFFIX= 3 MAINTAINER= sunpoet@FreeBSD.org COMMENT= Simple Ruby DSL for making HTTP requests LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.txt RUN_DEPENDS= rubygem-addressable>=2.3<3:www/rubygem-addressable \ rubygem-http-cookie>=1.0<2:www/rubygem-http-cookie \ rubygem-http-form_data>=2.0<3:www/rubygem-http-form_data \ - rubygem-http_parser.rb>=0.6.0<0.7:net/rubygem-http_parser.rb + rubygem-http_parser.rb>=0.6.0<1:net/rubygem-http_parser.rb USES= gem USE_RUBY= yes NO_ARCH= yes PORTSCOUT= limit:^3\. .include diff --git a/www/rubygem-http3/files/patch-gemspec b/www/rubygem-http3/files/patch-gemspec new file mode 100644 index 000000000000..c2e475f5ac13 --- /dev/null +++ b/www/rubygem-http3/files/patch-gemspec @@ -0,0 +1,11 @@ +--- http.gemspec.orig 2021-07-15 21:54:09 UTC ++++ http.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.6.0"]) ++ s.add_runtime_dependency(%q.freeze, ["~> 0.6"]) + s.add_runtime_dependency(%q.freeze, ["~> 2.0"]) + s.add_runtime_dependency(%q.freeze, ["~> 1.0"]) + s.add_runtime_dependency(%q.freeze, ["~> 2.3"])