summaryrefslogtreecommitdiff
path: root/net/rubygem-twitter
diff options
context:
space:
mode:
Diffstat (limited to 'net/rubygem-twitter')
-rw-r--r--net/rubygem-twitter/Makefile4
-rw-r--r--net/rubygem-twitter/files/patch-gemspec11
2 files changed, 11 insertions, 4 deletions
diff --git a/net/rubygem-twitter/Makefile b/net/rubygem-twitter/Makefile
index 339ac83f3d1f..7bf7732d3aa7 100644
--- a/net/rubygem-twitter/Makefile
+++ b/net/rubygem-twitter/Makefile
@@ -26,8 +26,4 @@ USE_RUBY= yes
USE_RUBYGEMS= yes
RUBYGEM_AUTOPLIST= yes
-post-patch:
-# adjust gemspec for "http ~> 0.6.0"
- @${REINPLACE_CMD} -e '77 s|"~>"|">="|' ${WRKSRC}/${GEM_NAME}.gemspec
-
.include <bsd.port.mk>
diff --git a/net/rubygem-twitter/files/patch-gemspec b/net/rubygem-twitter/files/patch-gemspec
new file mode 100644
index 000000000000..25145fc25520
--- /dev/null
+++ b/net/rubygem-twitter/files/patch-gemspec
@@ -0,0 +1,11 @@
+--- twitter.gemspec.orig 2015-01-21 20:31:06.000000000 +0000
++++ twitter.gemspec 2015-01-21 20:31:20.000000000 +0000
+@@ -25,7 +25,7 @@
+ s.add_runtime_dependency(%q<buftok>, ["~> 0.2.0"])
+ s.add_runtime_dependency(%q<equalizer>, ["~> 0.0.9"])
+ s.add_runtime_dependency(%q<faraday>, ["~> 0.9.0"])
+- s.add_runtime_dependency(%q<http>, ["~> 0.6.0"])
++ s.add_runtime_dependency(%q<http>, [">= 0.6.0"])
+ s.add_runtime_dependency(%q<http_parser.rb>, ["~> 0.6.0"])
+ s.add_runtime_dependency(%q<json>, ["~> 1.8"])
+ s.add_runtime_dependency(%q<memoizable>, ["~> 0.4.0"])