commit: ac649d96b8739e8a813d889513b11e0e911b651f
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 7 08:41:34 2021 +0000
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sun Nov 7 08:47:23 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac649d96
eclass/ruby-fakegem.eclass: also set sitelibdir for extensions
Normally extensions don't install in sitelibdir since they only deal
with compiled code, but there are edge cases. Set sitelibdir correctly
to the install destination so that we can keep using the "install"
target in the Makefile.
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
eclass/ruby-fakegem.eclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/eclass/ruby-fakegem.eclass b/eclass/ruby-fakegem.eclass
index 573e3511daf..7f88c292e53 100644
--- a/eclass/ruby-fakegem.eclass
+++ b/eclass/ruby-fakegem.eclass
@@ -558,7 +558,7 @@ each_fakegem_install() {
local
_extensionsdir="$(ruby_fakegem_gemsdir)/extensions/$(ruby_rbconfig_value
'arch')/$(ruby_rbconfig_value
'ruby_version')/${RUBY_FAKEGEM_NAME}-${RUBY_FAKEGEM_VERSION}"
for extension in ${RUBY_FAKEGEM_EXTENSIONS[@]} ; do
- emake V=1 sitearchdir="${ED}${_extensionsdir}" -C
${extension%/*} install
+ emake V=1 sitearchdir="${ED}${_extensionsdir}"
sitelibdir="${ED}$(ruby_rbconfig_value 'sitelibdir')" -C ${extension%/*} install
done
# Add the marker to indicate that the extensions are installed