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:           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.

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@localhost
@@ -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}



Home | Main Index | Thread Index | Old Index