pkgsrc-Changes archive

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

CVS commit: pkgsrc/net/ruby-stompserver



Module Name:    pkgsrc
Committed By:   taca
Date:           Wed Nov  6 15:31:02 UTC 2024

Modified Files:
        pkgsrc/net/ruby-stompserver: Makefile

Log Message:
net/ruby-stompserver: fix build with Ruby 3.1

Fix build with Ruby 3.1 since it require newer version of ruby-minitest.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 pkgsrc/net/ruby-stompserver/Makefile

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

Modified files:

Index: pkgsrc/net/ruby-stompserver/Makefile
diff -u pkgsrc/net/ruby-stompserver/Makefile:1.13 pkgsrc/net/ruby-stompserver/Makefile:1.14
--- pkgsrc/net/ruby-stompserver/Makefile:1.13   Sun Jun 30 06:46:07 2024
+++ pkgsrc/net/ruby-stompserver/Makefile        Wed Nov  6 15:31:01 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2024/06/30 06:46:07 taca Exp $
+# $NetBSD: Makefile,v 1.14 2024/11/06 15:31:01 taca Exp $
 
 DISTNAME=      drizztbsd-stompserver-1c7a275
 PKGNAME=       ${RUBY_PKGPREFIX}-stompserver-1.0.0
@@ -96,5 +96,10 @@ do-extract:
 post-install:
        ${INSTALL_DATA} ${WRKSRC}/config/stompserver.conf ${DESTDIR}${EGDIR}
 
+.include "../../lang/ruby/rubyversion.mk"
+.if ${RUBY_VER} == 31
+DEPENDS+=      ${RUBY_PKGPREFIX}-minitest>=5.16.0:../../devel/ruby-minitest
+.endif
+
 .include "../../lang/ruby/gem.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index