pkgsrc-Changes archive

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

CVS commit: pkgsrc/misc/ruby-pry



Module Name:    pkgsrc
Committed By:   taca
Date:           Sun Jan 21 09:15:17 UTC 2024

Modified Files:
        pkgsrc/misc/ruby-pry: Makefile

Log Message:
misc/ruby-pry: fix for ruby33

Depends on devel/ruby-readline prior to ruby33.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 pkgsrc/misc/ruby-pry/Makefile

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

Modified files:

Index: pkgsrc/misc/ruby-pry/Makefile
diff -u pkgsrc/misc/ruby-pry/Makefile:1.15 pkgsrc/misc/ruby-pry/Makefile:1.16
--- pkgsrc/misc/ruby-pry/Makefile:1.15  Sun Jan 15 15:40:21 2023
+++ pkgsrc/misc/ruby-pry/Makefile       Sun Jan 21 09:15:17 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2023/01/15 15:40:21 taca Exp $
+# $NetBSD: Makefile,v 1.16 2024/01/21 09:15:17 taca Exp $
 
 DISTNAME=      pry-0.14.2
 CATEGORIES=    misc
@@ -8,7 +8,6 @@ HOMEPAGE=       https://github.com/pry/pry
 COMMENT=       IRB alternative and runtime developer console
 LICENSE=       mit
 
-DEPENDS+=      ${RUBY_PKGPREFIX}-readline>=${RUBY_VERSION}:../../devel/ruby-readline
 DEPENDS+=      ${RUBY_PKGPREFIX}-method_source>=1.0<2:../../misc/ruby-method_source
 DEPENDS+=      ${RUBY_PKGPREFIX}-coderay>=1.1.0<2.0:../../textproc/ruby-coderay
 
@@ -16,5 +15,10 @@ RUBYGEM_OPTIONS+=    --format-executable
 
 USE_LANGUAGES= # none
 
+.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