devel/ruby-byebug: fix for ruby33

Depends on devel/ruby-readline prior to ruby33.
This commit is contained in:
taca 2024-01-21 09:13:54 +00:00
parent ad197050fe
commit 28e9739ea6
1 changed files with 6 additions and 3 deletions

View File

@ -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-rodriguez/byebug
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"