diff options
author | Benda Xu <heroxbd@gentoo.org> | 2018-02-07 04:41:21 +0900 |
---|---|---|
committer | Benda Xu <heroxbd@gentoo.org> | 2018-02-07 04:42:49 +0900 |
commit | 8a0814b2281a6ebab82560fa5589eec9bf285a6c (patch) | |
tree | cc092c59fed36a296ddcbfd531d4a2924623d1cb /dev-lang | |
parent | sys-apps/dstat: support Prefix again. (diff) | |
download | gentoo-8a0814b2281a6ebab82560fa5589eec9bf285a6c.tar.gz gentoo-8a0814b2281a6ebab82560fa5589eec9bf285a6c.tar.bz2 gentoo-8a0814b2281a6ebab82560fa5589eec9bf285a6c.zip |
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
Diffstat (limited to 'dev-lang')
-rw-r--r-- | dev-lang/ruby/ruby-2.3.6.ebuild | 8 |
1 files 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 ef91144c8658..7391744749fd 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" |