pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/lang/ruby
Module Name: pkgsrc
Committed By: taca
Date: Thu Nov 30 15:05:10 UTC 2023
Modified Files:
pkgsrc/lang/ruby: rails.mk
Log Message:
lang/ruby: add support for Ruby on Rails 7.1
To generate a diff of this commit:
cvs rdiff -u -r1.154 -r1.155 pkgsrc/lang/ruby/rails.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/lang/ruby/rails.mk
diff -u pkgsrc/lang/ruby/rails.mk:1.154 pkgsrc/lang/ruby/rails.mk:1.155
--- pkgsrc/lang/ruby/rails.mk:1.154 Sun Sep 10 14:19:00 2023
+++ pkgsrc/lang/ruby/rails.mk Thu Nov 30 15:05:10 2023
@@ -1,4 +1,4 @@
-# $NetBSD: rails.mk,v 1.154 2023/09/10 14:19:00 taca Exp $
+# $NetBSD: rails.mk,v 1.155 2023/11/30 15:05:10 taca Exp $
.if !defined(_RUBY_RAILS_MK)
_RUBY_RAILS_MK= # defined
@@ -9,7 +9,7 @@ _RUBY_RAILS_MK= # defined
# RUBY_RAILS_DEFAULT
# Select default Ruby on Rails version.
#
-# Possible values: 61 70
+# Possible values: 61 70 71
# Default: 61
#
#
@@ -27,7 +27,7 @@ _RUBY_RAILS_MK= # defined
# RUBY_RAILS_ACCEPTED
# The Ruby on Rails versions that are acceptable for the package.
#
-# Possible values: 61 70
+# Possible values: 61 70 71
# Default: (empty)
#
# RUBY_RAILS_STRICT_DEP
@@ -41,7 +41,7 @@ _RUBY_RAILS_MK= # defined
# RUBY_RAILS
# Selected Ruby on Rails version.
#
-# Possible values: 61 70
+# Possible values: 61 70 71
#
#
@@ -49,13 +49,14 @@ _RUBY_RAILS_MK= # defined
#
RUBY_RAILS61_VERSION?= 6.1.7.6
RUBY_RAILS70_VERSION?= 7.0.8
+RUBY_RAILS71_VERSION?= 7.1.2
RUBY_RAILS_ACCEPTED?= # empty
RUBY_RAILS_DEFAULT?= 61
RUBY_RAILS_STRICT_DEP?= no
-RUBY_RAILS_SUPPORTED= 61 70
+RUBY_RAILS_SUPPORTED= 61 70 71
.if empty(RUBY_RAILS_SUPPORTED:M${RUBY_RAILS_DEFAULT})
. error Unsupported RUBY_RAILS_DEFAULT: ${RUBY_RAILS_DEFAULT}
@@ -88,7 +89,9 @@ RUBY_RAILS?= ${rr}
RUBY_RAILS_REQD?= ${RUBY_RAILS}
-.if ${RUBY_RAILS} == "70"
+.if ${RUBY_RAILS} == "71"
+RAILS_VERSION:= ${RUBY_RAILS71_VERSION}
+.elif ${RUBY_RAILS} == "70"
RAILS_VERSION:= ${RUBY_RAILS70_VERSION}
.elif ${RUBY_RAILS} == "61"
RAILS_VERSION:= ${RUBY_RAILS61_VERSION}
Home |
Main Index |
Thread Index |
Old Index