pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/ruby-railties72



Module Name:    pkgsrc
Committed By:   taca
Date:           Fri Jan  3 02:35:40 UTC 2025

Modified Files:
        pkgsrc/devel/ruby-railties72: Makefile

Log Message:
devel/ruby-railties72: fix dependency to ruby-irb

Ruby 3.3 and later have required version of ruby-irb as default gem.
(I forgot to commit this change.)

Bump PKGREVISION for Ruby 3.3.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/ruby-railties72/Makefile

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-railties72/Makefile
diff -u pkgsrc/devel/ruby-railties72/Makefile:1.1 pkgsrc/devel/ruby-railties72/Makefile:1.2
--- pkgsrc/devel/ruby-railties72/Makefile:1.1   Fri Dec 13 16:55:10 2024
+++ pkgsrc/devel/ruby-railties72/Makefile       Fri Jan  3 02:35:40 2025
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.1 2024/12/13 16:55:10 taca Exp $
+# $NetBSD: Makefile,v 1.2 2025/01/03 02:35:40 taca Exp $
 
 DISTNAME=      railties-${RAILS_VERSION}
 PKGNAME=       ${RUBY_PKGPREFIX}-railties${RUBY_RAILS}-${RAILS_VERSION}
+PKGREVISION=   1
 CATEGORIES=    devel
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
@@ -13,7 +14,6 @@ DEPENDS+=     ${RUBY_ACTIONPACK_DEPENDS}
 DEPENDS+=      ${RUBY_PKGPREFIX}-rackup>=1.0.0:../../www/ruby-rackup
 DEPENDS+=      ${RUBY_PKGPREFIX}-thor>=1.0<2:../../devel/ruby-thor
 DEPENDS+=      ${RUBY_PKGPREFIX}-zeitwerk>=2.6<3:../../devel/ruby-zeitwerk
-DEPENDS+=      ${RUBY_PKGPREFIX}-irb>=1.13<2:../../devel/ruby-irb
 
 USE_LANGUAGES= # none
 
@@ -23,6 +23,11 @@ RUBYGEM_OPTIONS+=    --format-executable
 OVERRIDE_GEMSPEC+=     :executables rails=rails${RUBY_RAILS} \
                        :files exe/rails=exe/rails${RUBY_RAILS}
 
+.include "../../lang/ruby/rubyversion.mk"
+.if ${RUBY_VER} < 33
+DEPENDS+=      ${RUBY_PKGPREFIX}-irb>=1.13<2:../../devel/ruby-irb
+.endif
+
 pre-configure:
        ${TEST} -f ${WRKSRC}/exe/rails${RUBY_RAILS} || \
                ${MV} ${WRKSRC}/exe/rails ${WRKSRC}/exe/rails${RUBY_RAILS}



Home | Main Index | Thread Index | Old Index