diff options
author | tz <tz@FreeBSD.org> | 2016-06-21 00:05:17 +0800 |
---|---|---|
committer | tz <tz@FreeBSD.org> | 2016-06-21 00:05:17 +0800 |
commit | 5616a93eb39854a280bacec86824bbec7824d5b3 (patch) | |
tree | e8828c3c1a77c52da39c91c0e81be4d7ec394ceb /textproc | |
parent | d8da07d97e0314336c35a0154cbed3082080ba58 (diff) | |
download | freebsd-ports-gnome-5616a93eb39854a280bacec86824bbec7824d5b3.tar.gz freebsd-ports-gnome-5616a93eb39854a280bacec86824bbec7824d5b3.tar.zst freebsd-ports-gnome-5616a93eb39854a280bacec86824bbec7824d5b3.zip |
textproc/rubygem-gitlab-grit: make it work with rubygem-mime-types again
The update of misc/rubygem-mime-types break this port, because it is not allowed to work with mime-types version >= 3. I removed this limitation since the port works fine with newer version of mime-types.
Approved by: swills (mentor)
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/rubygem-gitlab-grit/Makefile | 1 | ||||
-rw-r--r-- | textproc/rubygem-gitlab-grit/files/patch-gemspec | 11 |
2 files changed, 12 insertions, 0 deletions
diff --git a/textproc/rubygem-gitlab-grit/Makefile b/textproc/rubygem-gitlab-grit/Makefile index 72b06c5bb00e..0e4bbe75096b 100644 --- a/textproc/rubygem-gitlab-grit/Makefile +++ b/textproc/rubygem-gitlab-grit/Makefile @@ -2,6 +2,7 @@ PORTNAME= gitlab-grit PORTVERSION= 2.8.1 +PORTREVISION= 1 CATEGORIES= textproc rubygems MASTER_SITES= RG diff --git a/textproc/rubygem-gitlab-grit/files/patch-gemspec b/textproc/rubygem-gitlab-grit/files/patch-gemspec new file mode 100644 index 000000000000..f0df6a2bfb26 --- /dev/null +++ b/textproc/rubygem-gitlab-grit/files/patch-gemspec @@ -0,0 +1,11 @@ +--- gitlab-grit.gemspec.orig 2016-06-20 14:45:29 UTC ++++ gitlab-grit.gemspec +@@ -25,7 +25,7 @@ Gem::Specification.new do |s| + if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then + s.add_runtime_dependency(%q<charlock_holmes>.freeze, ["~> 0.6"]) + s.add_runtime_dependency(%q<posix-spawn>.freeze, ["~> 0.3"]) +- s.add_runtime_dependency(%q<mime-types>.freeze, ["< 3", ">= 1.16"]) ++ s.add_runtime_dependency(%q<mime-types>.freeze, [">= 1.16"]) + s.add_runtime_dependency(%q<diff-lcs>.freeze, ["~> 1.1"]) + s.add_development_dependency(%q<mocha>.freeze, [">= 0"]) + else |