dev-lang/ruby: fix bootstrap build on uclibc
authorHans de Graaff <graaff@gentoo.org>
Mon, 6 Jun 2016 06:01:55 +0000 (08:01 +0200)
committerHans de Graaff <graaff@gentoo.org>
Mon, 6 Jun 2016 06:01:55 +0000 (08:01 +0200)
commit2f0298775dfe7e41ed696ed4d62b702d6fa914f4
tree5802815598ce449b17c9a8da17f5e09200e7a4a2
parent5e7b1f83ebaf970e5fdde62809e56e41c3af84e1
dev-lang/ruby: fix bootstrap build on uclibc

With a blank LIBPATHENV the ruby build tools fall back to using LD_PRELOAD
to load libruby.so during the build process. With uclibc, preloading is
now optional and not enabled at least in the vanilla stage3 that we
produce. This causes the build to fail since there are no options left
to find libruby.so.

Fixed by adding ${S} to the temporary LD_LIBRARY_PATH during the install
phase. Thanks to blueness for the original patch.

Fixes bug 564272

Package-Manager: portage-2.2.28
dev-lang/ruby/ruby-2.1.10.ebuild
dev-lang/ruby/ruby-2.1.9.ebuild
dev-lang/ruby/ruby-2.2.5.ebuild
dev-lang/ruby/ruby-2.3.0.ebuild
dev-lang/ruby/ruby-2.3.1.ebuild