devel/ruby-cmd: fix for ruby33
Depends on devel/ruby-readline prior to ruby33.
This commit is contained in:
parent
28e9739ea6
commit
20a209be4f
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue