pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/ruby-power_assert ruby-power_assert: skip the pa...
details: https://anonhg.NetBSD.org/pkgsrc/rev/b1d5ff9ce7c5
branches: trunk
changeset: 383485:b1d5ff9ce7c5
user: tnn <tnn%pkgsrc.org@localhost>
date: Fri Aug 19 14:16:47 2022 +0000
description:
ruby-power_assert: skip the package if the version is same as ruby-base
avoids this error in bulk builds:
=> Creating binary package .../packages/ruby31-power_assert-2.0.1.tgz
pkg_add: Conflicting PLIST with ruby31-base-3.1.2nb3: lib/ruby/gems/3.1.0/cache/power_assert-2.0.1.gem
diffstat:
devel/ruby-power_assert/Makefile | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diffs (21 lines):
diff -r 7bebe991e629 -r b1d5ff9ce7c5 devel/ruby-power_assert/Makefile
--- a/devel/ruby-power_assert/Makefile Fri Aug 19 14:06:16 2022 +0000
+++ b/devel/ruby-power_assert/Makefile Fri Aug 19 14:16:47 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.23 2021/08/31 15:12:12 taca Exp $
+# $NetBSD: Makefile,v 1.24 2022/08/19 14:16:47 tnn Exp $
DISTNAME= power_assert-2.0.1
CATEGORIES= devel
@@ -10,5 +10,11 @@
USE_LANGUAGES= # none
+.include "../../lang/ruby/rubyversion.mk"
+
+.if "power_assert-${RUBY_POWER_ASSERT_VER}" == ${DISTNAME}
+PKG_SKIP_REASON+= "${DISTNAME} is included in ${RUBY_BASE}"
+.endif
+
.include "../../lang/ruby/gem.mk"
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index