mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-ruby/rbtree: fix installation of files
Place compiled object file in a location where it can be found and used when installed as a gem. This also fixes bug 593376 Package-Manager: portage-2.2.28
This commit is contained in:
@@ -3,16 +3,15 @@
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
# ruby23: fails tests
|
||||
USE_RUBY="ruby20 ruby21 ruby22"
|
||||
|
||||
RUBY_FAKEGEM_TASK_TEST=""
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="README"
|
||||
|
||||
inherit multilib ruby-fakegem
|
||||
|
||||
RUBY_FAKEGEM_EXTRAINSTALL="rbtree$(get_modname)"
|
||||
|
||||
DESCRIPTION="Ruby/RBTree module"
|
||||
HOMEPAGE="http://www.geocities.co.jp/SiliconValley-PaloAlto/3388/rbtree/README.html"
|
||||
|
||||
@@ -24,6 +23,8 @@ IUSE="test"
|
||||
all_ruby_prepare() {
|
||||
# Fix test for random hash ordering.
|
||||
sed -i -e '527 s/flatten/flatten.sort/g' test.rb || die
|
||||
|
||||
mkdir lib || die
|
||||
}
|
||||
|
||||
each_ruby_configure() {
|
||||
@@ -32,6 +33,7 @@ each_ruby_configure() {
|
||||
|
||||
each_ruby_compile() {
|
||||
emake V=1
|
||||
cp rbtree$(get_modname) lib/ || die
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
Reference in New Issue
Block a user