build-style/ruby-module: fix _vendorlibdir because of multilib change
This commit is contained in:
parent
a71fc51641
commit
313afd12f9
1 changed files with 4 additions and 0 deletions
|
@ -5,5 +5,9 @@
|
||||||
do_install() {
|
do_install() {
|
||||||
local _vendorlibdir=$(ruby -e 'puts RbConfig::CONFIG["vendorlibdir"]')
|
local _vendorlibdir=$(ruby -e 'puts RbConfig::CONFIG["vendorlibdir"]')
|
||||||
|
|
||||||
|
if [ "$XBPS_WORDSIZE" != "$XBPS_TARGET_WORDSIZE" ]; then
|
||||||
|
_vendorlibdir="${_vendorlibdir//lib$XBPS_WORDSIZE/lib$XBPS_TARGET_WORDSIZE}"
|
||||||
|
fi
|
||||||
|
|
||||||
LANG=C ruby install.rb --destdir=${DESTDIR} --sitelibdir=${_vendorlibdir} ${make_install_args}
|
LANG=C ruby install.rb --destdir=${DESTDIR} --sitelibdir=${_vendorlibdir} ${make_install_args}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue