pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/ruby-cmd
Module Name: pkgsrc
Committed By: taca
Date: Sun Jan 21 09:14:41 UTC 2024
Modified Files:
pkgsrc/devel/ruby-cmd: Makefile
Log Message:
devel/ruby-cmd: 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-cmd/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-cmd/Makefile
diff -u pkgsrc/devel/ruby-cmd/Makefile:1.11 pkgsrc/devel/ruby-cmd/Makefile:1.12
--- pkgsrc/devel/ruby-cmd/Makefile:1.11 Fri Sep 25 06:05:40 2015
+++ pkgsrc/devel/ruby-cmd/Makefile Sun Jan 21 09:14:41 2024
@@ -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/project
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"
Home |
Main Index |
Thread Index |
Old Index