commit: 8a0814b2281a6ebab82560fa5589eec9bf285a6c Author: Benda Xu <heroxbd <AT> gentoo <DOT> org> AuthorDate: Tue Feb 6 19:41:21 2018 +0000 Commit: Benda XU <heroxbd <AT> gentoo <DOT> org> CommitDate: Tue Feb 6 19:42:49 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a0814b2
dev-lang/ruby: support Prefix for 2.3.6. Minor ED update without revision bump. The similar fixes are already in 2.4 and 2.5. Reported-By: Martin Mokrejš Closes: https://bugs.gentoo.org/633358 Package-Manager: Portage-2.3.24, Repoman-2.3.6 dev-lang/ruby/ruby-2.3.6.ebuild | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dev-lang/ruby/ruby-2.3.6.ebuild b/dev-lang/ruby/ruby-2.3.6.ebuild index ef91144c865..7391744749f 100644 --- a/dev-lang/ruby/ruby-2.3.6.ebuild +++ b/dev-lang/ruby/ruby-2.3.6.ebuild @@ -202,10 +202,10 @@ src_install() { emake V=1 DESTDIR="${D}" install || die "make install failed" # Remove installed rubygems and rdoc copy - rm -rf "${D}/usr/$(get_libdir)/ruby/${RUBYVERSION}/rubygems" || die "rm rubygems failed" - rm -rf "${D}/usr/bin/"gem"${MY_SUFFIX}" || die "rm rdoc bins failed" - rm -rf "${D}/usr/$(get_libdir)/ruby/${RUBYVERSION}"/rdoc* || die "rm rdoc failed" - rm -rf "${D}/usr/bin/"{ri,rdoc}"${MY_SUFFIX}" || die "rm rdoc bins failed" + rm -rf "${ED}/usr/$(get_libdir)/ruby/${RUBYVERSION}/rubygems" || die "rm rubygems failed" + rm -rf "${ED}/usr/bin/"gem"${MY_SUFFIX}" || die "rm rdoc bins failed" + rm -rf "${ED}/usr/$(get_libdir)/ruby/${RUBYVERSION}"/rdoc* || die "rm rdoc failed" + rm -rf "${ED}/usr/bin/"{ri,rdoc}"${MY_SUFFIX}" || die "rm rdoc bins failed" if use doc; then make DESTDIR="${D}" install-doc || die "make install-doc failed"