pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/ruby-racc devel/ruby-racc: dose not support Ruby...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ddb3177a9c13
branches:  trunk
changeset: 371933:ddb3177a9c13
user:      taca <taca%pkgsrc.org@localhost>
date:      Sun Jan 16 14:55:18 2022 +0000

description:
devel/ruby-racc: dose not support Ruby 3.1

This package conflicts with ruby31-base which has the same version.

diffstat:

 devel/ruby-racc/Makefile |  16 +++++++---------
 1 files changed, 7 insertions(+), 9 deletions(-)

diffs (38 lines):

diff -r a51b20ec6fb5 -r ddb3177a9c13 devel/ruby-racc/Makefile
--- a/devel/ruby-racc/Makefile  Sun Jan 16 14:32:58 2022 +0000
+++ b/devel/ruby-racc/Makefile  Sun Jan 16 14:55:18 2022 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.29 2021/12/28 00:34:03 taca Exp $
+# $NetBSD: Makefile,v 1.30 2022/01/16 14:55:18 taca Exp $
 
-DISTNAME=      racc-${RACC_VERSION}
+DISTNAME=      racc-1.6.0
 CATEGORIES=    devel
 
 MAINTAINER=    taca%NetBSD.org@localhost
@@ -8,7 +8,10 @@
 COMMENT=       LALR(1) parser generator for Ruby
 LICENSE=       gnu-lgpl-v2
 
-RACC_VERSION=  1.6.0
+#
+# Ruby 3.1 has the same conflicting version 1.6.0.
+#
+RUBY_VERSIONS_ACCEPTED=        26 27 30
 
 RUBYGEM_OPTIONS+=      --format-executable
 
@@ -16,12 +19,7 @@
 
 .include "../../lang/ruby/rubyversion.mk"
 
-.if !empty(RUBY_RACC_VERSION)
-
-.  if ${RACC_VERSION} == "${RUBY_RACC_VERSION}"
-.    error "${RUBY_PKGPREFIX}-base contains this package ${PKGBASE}."
-.  endif
-
+.if !empty(RUBY_RACC_VER)
 ALTERNATIVES_SRC=      # empty
 post-install:
        ${RM} -f ${DESTDIR}${PREFIX}/bin/racc${RUBY_SUFFIX}



Home | Main Index | Thread Index | Old Index