pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/ruby-power_assert
Module Name: pkgsrc
Committed By: tnn
Date: Fri Aug 19 14:16:47 UTC 2022
Modified Files:
pkgsrc/devel/ruby-power_assert: Makefile
Log Message:
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
To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 pkgsrc/devel/ruby-power_assert/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-power_assert/Makefile
diff -u pkgsrc/devel/ruby-power_assert/Makefile:1.23 pkgsrc/devel/ruby-power_assert/Makefile:1.24
--- pkgsrc/devel/ruby-power_assert/Makefile:1.23 Tue Aug 31 15:12:12 2021
+++ pkgsrc/devel/ruby-power_assert/Makefile Fri Aug 19 14:16:47 2022
@@ -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 @@ LICENSE= 2-clause-bsd
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