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: take care of bundled ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/9c35028785c1
branches: trunk
changeset: 771818:9c35028785c1
user: taca <taca%pkgsrc.org@localhost>
date: Tue Dec 28 00:34:03 2021 +0000
description:
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.
diffstat:
devel/ruby-racc/Makefile | 13 ++++++++++---
1 files changed, 10 insertions(+), 3 deletions(-)
diffs (34 lines):
diff -r 70b956dda379 -r 9c35028785c1 devel/ruby-racc/Makefile
--- a/devel/ruby-racc/Makefile Tue Dec 28 00:02:06 2021 +0000
+++ b/devel/ruby-racc/Makefile Tue Dec 28 00:34:03 2021 +0000
@@ -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@localhost
@@ -8,13 +8,20 @@
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}
Home |
Main Index |
Thread Index |
Old Index