svn commit: r556959 - in head/www/redmine4: . files
Mikael Urankar
mikael at FreeBSD.org
Fri Dec 4 09:21:50 UTC 2020
Author: mikael
Date: Fri Dec 4 09:21:49 2020
New Revision: 556959
URL: https://svnweb.freebsd.org/changeset/ports/556959
Log:
www/redmine4: unbreak with ruby 2.7
redmine4 works with ruby 2.7.2, unbreak by importing upstream patch:
https://www.redmine.org/projects/redmine/repository/revisions/20150
Reported by: many
Modified:
head/www/redmine4/Makefile
head/www/redmine4/files/patch-Gemfile
Modified: head/www/redmine4/Makefile
==============================================================================
--- head/www/redmine4/Makefile Fri Dec 4 08:10:41 2020 (r556958)
+++ head/www/redmine4/Makefile Fri Dec 4 09:21:49 2020 (r556959)
@@ -14,10 +14,6 @@ COMMENT= Flexible project management web application
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/doc/COPYING
-# It seems that redmine should work with ruby 2.7 but they have not enable it in gemfile
-# https://www.redmine.org/issues/31500
-BROKEN_RUBY27= yes
-
RUN_DEPENDS= rubygem-bundler>=1.5.0:sysutils/rubygem-bundler \
rubygem-rails52>=5.2.4.4:www/rubygem-rails52 \
rubygem-rouge312>=3.12.0:textproc/rubygem-rouge312 \
Modified: head/www/redmine4/files/patch-Gemfile
==============================================================================
--- head/www/redmine4/files/patch-Gemfile Fri Dec 4 08:10:41 2020 (r556958)
+++ head/www/redmine4/files/patch-Gemfile Fri Dec 4 09:21:49 2020 (r556959)
@@ -1,7 +1,10 @@
--- Gemfile.orig 2020-04-06 17:00:48 UTC
+++ Gemfile
-@@ -3,7 +3,7 @@ source 'https://rubygems.org'
- ruby '>= 2.3.0', '< 2.7.0' if Bundler::VERSION >= '1.12.0'
+@@ -1,9 +1,9 @@
+ source 'https://rubygems.org'
+
+-ruby '>= 2.3.0', '< 2.7.0' if Bundler::VERSION >= '1.12.0'
++ruby '>= 2.3.0', '< 2.8.0' if Bundler::VERSION >= '1.12.0'
gem "bundler", ">= 1.5.0"
-gem 'rails', '5.2.4.2'
More information about the svn-ports-all
mailing list