diff --git a/www/rubygem-http/Makefile b/www/rubygem-http/Makefile index f00a5a474612..beb588de4e7a 100644 --- a/www/rubygem-http/Makefile +++ b/www/rubygem-http/Makefile @@ -1,22 +1,23 @@ PORTNAME= http PORTVERSION= 5.1.1 +PORTREVISION= 1 CATEGORIES= www rubygems MASTER_SITES= RG MAINTAINER= sunpoet@FreeBSD.org COMMENT= Simple Ruby DSL for making HTTP requests WWW= https://github.com/httprb/http LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.txt RUN_DEPENDS= rubygem-addressable>=2.8<3:www/rubygem-addressable \ rubygem-http-cookie>=1.0<2:www/rubygem-http-cookie \ rubygem-http-form_data>=2.2<3:www/rubygem-http-form_data \ - rubygem-llhttp-ffi>=0.4.0<0.5:www/rubygem-llhttp-ffi + rubygem-llhttp-ffi>=0.4<1:www/rubygem-llhttp-ffi USES= gem NO_ARCH= yes .include diff --git a/www/rubygem-http/files/patch-gemspec b/www/rubygem-http/files/patch-gemspec new file mode 100644 index 000000000000..659063c6d13f --- /dev/null +++ b/www/rubygem-http/files/patch-gemspec @@ -0,0 +1,11 @@ +--- http.gemspec.orig 2023-04-06 18:04:03 UTC ++++ http.gemspec +@@ -25,7 +25,7 @@ Gem::Specification.new do |s| + s.add_runtime_dependency(%q.freeze, ["~> 2.8"]) + s.add_runtime_dependency(%q.freeze, ["~> 1.0"]) + s.add_runtime_dependency(%q.freeze, ["~> 2.2"]) +- s.add_runtime_dependency(%q.freeze, ["~> 0.4.0"]) ++ s.add_runtime_dependency(%q.freeze, ["~> 0.4"]) + s.add_development_dependency(%q.freeze, ["~> 2.0"]) + end +