pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/ruby-activesupport72



Module Name:    pkgsrc
Committed By:   taca
Date:           Thu Jan  2 06:24:36 UTC 2025

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

Log Message:
devel/ruby-activesupport72: restrict dependency

Restrict dependency to ruby-benchmark and ruby-securerandom to prior to
Ruby 3.4.

NFC.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/ruby-activesupport72/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-activesupport72/Makefile
diff -u pkgsrc/devel/ruby-activesupport72/Makefile:1.1 pkgsrc/devel/ruby-activesupport72/Makefile:1.2
--- pkgsrc/devel/ruby-activesupport72/Makefile:1.1      Fri Dec 13 16:38:05 2024
+++ pkgsrc/devel/ruby-activesupport72/Makefile  Thu Jan  2 06:24:36 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2024/12/13 16:38:05 taca Exp $
+# $NetBSD: Makefile,v 1.2 2025/01/02 06:24:36 taca Exp $
 
 DISTNAME=      activesupport-${RAILS_VERSION}
 PKGNAME=       ${RUBY_PKGPREFIX}-activesupport${RUBY_RAILS}-${RAILS_VERSION}
@@ -13,13 +13,17 @@ DEPENDS+=   ${RUBY_PKGPREFIX}-i18n>=1.6<2:
 DEPENDS+=      ${RUBY_PKGPREFIX}-tzinfo>=2.0<3:../../time/ruby-tzinfo
 DEPENDS+=      ${RUBY_PKGPREFIX}-concurrent-ruby>=1.3.1<2:../../devel/ruby-concurrent-ruby
 DEPENDS+=      ${RUBY_PKGPREFIX}-connection_pool>=2.2.5:../../net/ruby-connection_pool
-DEPENDS+=      ${RUBY_PKGPREFIX}-benchmark>=0.3:../../benchmarks/ruby-benchmark
-DEPENDS+=      ${RUBY_PKGPREFIX}-securerandom>=0.3:../../security/ruby-securerandom
 
 USE_LANGUAGES= # none
 
 RUBY_RAILS_ACCEPTED=   72
 RUBY_RAILS_STRICT_DEP= yes
 
+.include "../../lang/ruby/rubyversion.mk"
+.if ${RUBY_VER} != 34
+DEPENDS+=      ${RUBY_PKGPREFIX}-benchmark>=0.3:../../benchmarks/ruby-benchmark
+DEPENDS+=      ${RUBY_PKGPREFIX}-securerandom>=0.3:../../security/ruby-securerandom
+.endif
+
 .include "../../lang/ruby/gem.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index