devel/ruby-cmd: fix for ruby33

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

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.11 2015/09/25 06:05:40 taca Exp $
# $NetBSD: Makefile,v 1.12 2024/01/21 09:14:41 taca Exp $
DISTNAME= cmd-0.7.2
PKGREVISION= 1
@ -9,9 +9,12 @@ HOMEPAGE= # http://rubyforge.org/projects/cmd/
COMMENT= Library for building line-oriented command interpreters
LICENSE= mit
DEPENDS+= ${RUBY_PKGPREFIX}-readline>=${RUBY_VERSION}:../../devel/ruby-readline
OVERRIDE_GEMSPEC= :files download= rdoc=
.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"