Skip to content

Commit

Permalink
dev-lang/ruby: support Prefix for 2.3.6.
Browse files Browse the repository at this point in the history
  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
  • Loading branch information
heroxbd committed Feb 6, 2018
1 parent 543b5ea commit 8a0814b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions dev-lang/ruby/ruby-2.3.6.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 8a0814b

Please sign in to comment.