pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/ruby-byebug



Module Name:    pkgsrc
Committed By:   taca
Date:           Sun Jan 21 09:13:54 UTC 2024

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

Log Message:
devel/ruby-byebug: fix for ruby33

Depends on devel/ruby-readline prior to ruby33.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 pkgsrc/devel/ruby-byebug/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-byebug/Makefile
diff -u pkgsrc/devel/ruby-byebug/Makefile:1.11 pkgsrc/devel/ruby-byebug/Makefile:1.12
--- pkgsrc/devel/ruby-byebug/Makefile:1.11      Mon Apr 27 04:05:56 2020
+++ pkgsrc/devel/ruby-byebug/Makefile   Sun Jan 21 09:13:54 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2020/04/27 04:05:56 taca Exp $
+# $NetBSD: Makefile,v 1.12 2024/01/21 09:13:54 taca Exp $
 
 DISTNAME=      byebug-11.1.3
 CATEGORIES=    devel
@@ -8,9 +8,12 @@ HOMEPAGE=      https://github.com/deivid-rodr
 COMMENT=       Ruby 2.0 fast debugger - base + CLI
 LICENSE=       2-clause-bsd
 
-DEPENDS+=      ${RUBY_PKGPREFIX}-readline>=${RUBY_VERSION_FULL}:../../devel/ruby-readline
-
 RUBYGEM_OPTIONS+=      --format-executable
 
+.include "../../lang/ruby/rubyversion.mk"
+.if ${RUBY_VER} < 33
+DEPENDS+=      ${RUBY_PKGPREFIX}-readline>=${RUBY_VERSION}:../../devel/ruby-readline
+.endif
+
 .include "../../lang/ruby/gem.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index