From 5143f5413228abb384e81ac99b937a76df54dd6b Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sat, 8 Oct 2022 20:46:42 +0200 Subject: community/ruby: temporarily removed ruby-doc from ruby-stdlib (rubygems clash) --- community/ruby/PKGBUILD | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'community') diff --git a/community/ruby/PKGBUILD b/community/ruby/PKGBUILD index 530cd9f4..9a42864d 100644 --- a/community/ruby/PKGBUILD +++ b/community/ruby/PKGBUILD @@ -20,3 +20,14 @@ fi if [ "${CARCH}" = "i486" ]; then unset check fi + +# temporarily remove ruby-rdoc (because of clashes with rubygems +# (why rubygems should have /usr/bin/rdoc and /usr/bin/ri in it +# is a miracle to me though?!) +eval "$( + declare -f package_ruby-stdlib | \ + sed ' + /depends/ a \ + depends=(${depends[@]//ruby-rdoc/}) + ' +)" -- cgit v1.2.3-54-g00ecf