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: Fri Dec 13 16:34:32 UTC 2024
Modified Files:
pkgsrc/lang/ruby: rails.mk
Log Message:
lang/ruby/rails.mk: add support for Ruby on Rails 7.2
To generate a diff of this commit:
cvs rdiff -u -r1.174 -r1.175 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.174 pkgsrc/lang/ruby/rails.mk:1.175
--- pkgsrc/lang/ruby/rails.mk:1.174 Wed Dec 11 15:37:32 2024
+++ pkgsrc/lang/ruby/rails.mk Fri Dec 13 16:34:32 2024
@@ -1,4 +1,4 @@
-# $NetBSD: rails.mk,v 1.174 2024/12/11 15:37:32 taca Exp $
+# $NetBSD: rails.mk,v 1.175 2024/12/13 16:34:32 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 71
+# Possible values: 61 70 71 72
# 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 71
+# Possible values: 61 70 71 72
# 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 71
+# Possible values: 61 70 71 72
#
#
@@ -50,13 +50,14 @@ _RUBY_RAILS_MK= # defined
RUBY_RAILS61_VERSION?= 6.1.7.10
RUBY_RAILS70_VERSION?= 7.0.8.7
RUBY_RAILS71_VERSION?= 7.1.5.1
+RUBY_RAILS72_VERSION?= 7.2.2.1
RUBY_RAILS_ACCEPTED?= # empty
RUBY_RAILS_DEFAULT?= 61
RUBY_RAILS_STRICT_DEP?= no
-RUBY_RAILS_SUPPORTED= 61 70 71
+RUBY_RAILS_SUPPORTED= 61 70 71 72
.if empty(RUBY_RAILS_SUPPORTED:M${RUBY_RAILS_DEFAULT})
. error Unsupported RUBY_RAILS_DEFAULT: ${RUBY_RAILS_DEFAULT}
@@ -89,7 +90,9 @@ RUBY_RAILS?= ${rr}
RUBY_RAILS_REQD?= ${RUBY_RAILS}
-.if ${RUBY_RAILS} == "71"
+.if ${RUBY_RAILS} == "72"
+RAILS_VERSION:= ${RUBY_RAILS72_VERSION}
+.elif ${RUBY_RAILS} == "71"
RAILS_VERSION:= ${RUBY_RAILS71_VERSION}
.elif ${RUBY_RAILS} == "70"
RAILS_VERSION:= ${RUBY_RAILS70_VERSION}
Home |
Main Index |
Thread Index |
Old Index