pkgsrc-Changes archive

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

CVS commit: pkgsrc/databases/ruby-activerecord71



Module Name:    pkgsrc
Committed By:   taca
Date:           Wed Dec 11 15:27:35 UTC 2024

Modified Files:
        pkgsrc/databases/ruby-activerecord71: Makefile

Log Message:
databases/ruby-activerecord71: require ruby-timeout

Require ruby-timeout package before Ruby 3.3.

Bump PKGREVISION.


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

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

Modified files:

Index: pkgsrc/databases/ruby-activerecord71/Makefile
diff -u pkgsrc/databases/ruby-activerecord71/Makefile:1.1 pkgsrc/databases/ruby-activerecord71/Makefile:1.2
--- pkgsrc/databases/ruby-activerecord71/Makefile:1.1   Thu Nov 30 15:24:17 2023
+++ pkgsrc/databases/ruby-activerecord71/Makefile       Wed Dec 11 15:27:35 2024
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.1 2023/11/30 15:24:17 taca Exp $
+# $NetBSD: Makefile,v 1.2 2024/12/11 15:27:35 taca Exp $
 
 DISTNAME=      activerecord-${RAILS_VERSION}
 PKGNAME=       ${RUBY_PKGPREFIX}-activerecord${RUBY_RAILS}-${RAILS_VERSION}
+PKGREVISION=   1
 CATEGORIES=    databases
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
@@ -17,5 +18,11 @@ USE_LANGUAGES=       # none
 RUBY_RAILS_ACCEPTED=   71
 RUBY_RAILS_STRICT_DEP= yes
 
+.include "../../lang/ruby/rubyversion.mk"
+
+.if ${RUBY_VER} < 33
+DEPENDS+=      ${RUBY_PKGPREFIX}-timeout>=0.4.0:../../time/ruby-timeout
+.endif
+
 .include "../../lang/ruby/gem.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index