mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
Add a workaround for gitlab-ce
- Bump PORTREVISION for package change Tested by: mfechner Reference: https://lists.freebsd.org/pipermail/svn-ports-head/2018-November/193262.html
This commit is contained in:
parent
83ad3d13a3
commit
ab2119af37
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=485755
@ -3,6 +3,7 @@
|
||||
|
||||
PORTNAME= warden
|
||||
PORTVERSION= 1.2.8
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= devel rubygems
|
||||
MASTER_SITES= RG
|
||||
|
||||
@ -12,7 +13,9 @@ COMMENT= Rack middleware that provides authentication for rack applications
|
||||
LICENSE= MIT
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
RUN_DEPENDS= rubygem-rack>=2.0.6:www/rubygem-rack
|
||||
# Change from rubygem-rack>=2.0.6 to rubygem-rack>=1.6 as a workround for www/gitlab-ce
|
||||
# Ref: https://lists.freebsd.org/pipermail/svn-ports-head/2018-November/193262.html
|
||||
RUN_DEPENDS= rubygem-rack>=1.6:www/rubygem-rack
|
||||
|
||||
USES= gem
|
||||
USE_RUBY= yes
|
||||
|
11
devel/rubygem-warden/files/patch-gemspec
Normal file
11
devel/rubygem-warden/files/patch-gemspec
Normal file
@ -0,0 +1,11 @@
|
||||
--- warden.gemspec.orig 2018-11-22 20:12:33 UTC
|
||||
+++ warden.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<rack>.freeze, [">= 2.0.6"])
|
||||
+ s.add_runtime_dependency(%q<rack>.freeze, [">= 1.6"])
|
||||
else
|
||||
s.add_dependency(%q<rack>.freeze, [">= 2.0.6"])
|
||||
end
|
Loading…
Reference in New Issue
Block a user