Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified)) by mollari.NetBSD.org (Postfix) with ESMTPS id 4D11C1A9239 for ; Tue, 28 Dec 2021 00:34:05 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id 9B22584D91; Tue, 28 Dec 2021 00:34:04 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id D68BF84D7A for ; Tue, 28 Dec 2021 00:34:03 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id XxIUj7m9dx7C for ; Tue, 28 Dec 2021 00:34:03 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 35A9984CE0 for ; Tue, 28 Dec 2021 00:34:03 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 2EF78FAEC; Tue, 28 Dec 2021 00:34:03 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_164065164332800" MIME-Version: 1.0 Date: Tue, 28 Dec 2021 00:34:03 +0000 From: "Takahiro Kambe" Subject: CVS commit: pkgsrc/devel/ruby-racc To: pkgsrc-changes@NetBSD.org Reply-To: taca@netbsd.org X-Mailer: log_accum Message-Id: <20211228003403.2EF78FAEC@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_164065164332800 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: taca Date: Tue Dec 28 00:34:03 UTC 2021 Modified Files: pkgsrc/devel/ruby-racc: Makefile Log Message: devel/ruby-racc: take care of bundled racc gem Take care of bundled racc gem in ruby*-base package. It is no effect for pkgsrc HEAD tree. To generate a diff of this commit: cvs rdiff -u -r1.28 -r1.29 pkgsrc/devel/ruby-racc/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_164065164332800 Content-Disposition: inline Content-Length: 1080 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/devel/ruby-racc/Makefile diff -u pkgsrc/devel/ruby-racc/Makefile:1.28 pkgsrc/devel/ruby-racc/Makefile:1.29 --- pkgsrc/devel/ruby-racc/Makefile:1.28 Tue Nov 9 14:20:04 2021 +++ pkgsrc/devel/ruby-racc/Makefile Tue Dec 28 00:34:03 2021 @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.28 2021/11/09 14:20:04 taca Exp $ +# $NetBSD: Makefile,v 1.29 2021/12/28 00:34:03 taca Exp $ -DISTNAME= racc-1.6.0 +DISTNAME= racc-${RACC_VERSION} CATEGORIES= devel MAINTAINER= taca@NetBSD.org @@ -8,13 +8,20 @@ HOMEPAGE= https://github.com/tenderlove/ COMMENT= LALR(1) parser generator for Ruby LICENSE= gnu-lgpl-v2 +RACC_VERSION= 1.6.0 + RUBYGEM_OPTIONS+= --format-executable PLIST_VARS+= racc_command .include "../../lang/ruby/rubyversion.mk" -.if ${RUBY_VER} == "27" || ${RUBY_VER} == "30" +.if !empty(RUBY_RACC_VERSION) + +. if ${RACC_VERSION} == "${RUBY_RACC_VERSION}" +. error "${RUBY_PKGPREFIX}-base contains this package ${PKGBASE}." +. endif + ALTERNATIVES_SRC= # empty post-install: ${RM} -f ${DESTDIR}${PREFIX}/bin/racc${RUBY_SUFFIX} --_----------=_164065164332800--