pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/ruby-redmine



Module Name:    pkgsrc
Committed By:   taca
Date:           Wed Nov 29 16:08:22 UTC 2023

Modified Files:
        pkgsrc/devel/ruby-redmine: redmine.mk

Log Message:
devel/ruby-redmine: add support for Redmine 5.1


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 pkgsrc/devel/ruby-redmine/redmine.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/ruby-redmine/redmine.mk
diff -u pkgsrc/devel/ruby-redmine/redmine.mk:1.9 pkgsrc/devel/ruby-redmine/redmine.mk:1.10
--- pkgsrc/devel/ruby-redmine/redmine.mk:1.9    Tue May 30 14:44:49 2023
+++ pkgsrc/devel/ruby-redmine/redmine.mk        Wed Nov 29 16:08:22 2023
@@ -1,4 +1,4 @@
-# $NetBSD: redmine.mk,v 1.9 2023/05/30 14:44:49 taca Exp $
+# $NetBSD: redmine.mk,v 1.10 2023/11/29 16:08:22 taca Exp $
 
 .if !defined(_RUBY_REDMINE_MK)
 _RUBY_REDMINE_MK=      # defined
@@ -11,7 +11,7 @@ _RUBY_REDMINE_MK=     # defined
 # RM_VERSION_DEFAULT
 #      Select default Redmine version.
 #
-#      Possible values: 50
+#      Possible values: 50 51
 #      Default: 50
 #
 #
@@ -19,7 +19,7 @@ _RUBY_REDMINE_MK=     # defined
 #
 # RM_VERSIONS_SUPPORTED
 #      Supported Redmine version.
-#      Possible values: 50
+#      Possible values: 50 51
 #      Default: 50
 #
 #
@@ -27,19 +27,15 @@ _RUBY_REDMINE_MK=   # defined
 #
 # RM_VER
 #      Redmine version.
-#      Possible values: 50
+#      Possible values: 50 51
 #      Default: 50
 #
 # RM_DIR
 #      Redmine directory.
 #
 
-.if ${RUBY_VER} >= 30
 RM_VERSION_DEFAULT?=   50
-RM_VERSIONS_SUPPORTED?=        50
-.else
-.error "There is no redmine support Ruby ${RUBY_VERSION}"
-.endif
+RM_VERSIONS_SUPPORTED?=        50 51
 
 RM_VERSION?=   # empty
 RM_VER?=       # empty
@@ -60,13 +56,9 @@ RM_MINOR=    ${RM_VERSION:C/([0-9]+)\.([0-9
 RM_VER=                ${RM_MAJOR}${RM_MINOR}
 .endif
 
-.if "${RM_VER}" == 50
 REDMINE_DEPENDS=       ${RUBY_PKGPREFIX}-redmine${RM_VER}-[0-9]*:../../devel/ruby-redmine${RM_VER}
 RM_PLUGINDIR=          ${RM_DIR}/plugins
 RM_THEMEDIR=           ${RM_DIR}/public/themes
-.else
-PKG_FAIL_REASON+=      "Unknown Redmine version specified: ${RM_VER}"
-.endif
 
 RM_DIR=                share/${RUBY_PKGPREFIX}-redmine${RM_VER}
 



Home | Main Index | Thread Index | Old Index