pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/ruby-racc



Module Name:    pkgsrc
Committed By:   taca
Date:           Sun Jan 16 14:55:18 UTC 2022

Modified Files:
        pkgsrc/devel/ruby-racc: Makefile

Log Message:
devel/ruby-racc: dose not support Ruby 3.1

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


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 pkgsrc/devel/ruby-racc/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-racc/Makefile
diff -u pkgsrc/devel/ruby-racc/Makefile:1.29 pkgsrc/devel/ruby-racc/Makefile:1.30
--- pkgsrc/devel/ruby-racc/Makefile:1.29        Tue Dec 28 00:34:03 2021
+++ pkgsrc/devel/ruby-racc/Makefile     Sun Jan 16 14:55:18 2022
@@ -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 @@ HOMEPAGE=      https://github.com/tenderlove/
 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 @@ PLIST_VARS+= racc_command
 
 .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