[dev-libs/Ice] install arch-dependent ruby ext into sitearchdir, remove eutils since its probably uneeded now
This commit is contained in:
parent
70f980912e
commit
b586fff57b
@ -20,7 +20,7 @@ EGIT_REPO_URI="https://github.com/zeroc-ice/ice.git"
|
|||||||
EGIT_CHECKOUT_DIR="${WORKDIR}/${PN}"
|
EGIT_CHECKOUT_DIR="${WORKDIR}/${PN}"
|
||||||
EGIT_BRANCH="3.6"
|
EGIT_BRANCH="3.6"
|
||||||
|
|
||||||
inherit db-use eutils mono-env php-ext-source-r3 python-r1 ruby-ng toolchain-funcs versionator git-r3
|
inherit db-use mono-env php-ext-source-r3 python-r1 ruby-ng toolchain-funcs versionator git-r3
|
||||||
|
|
||||||
# for mono-env
|
# for mono-env
|
||||||
unset SRC_URI
|
unset SRC_URI
|
||||||
@ -175,9 +175,10 @@ src_configure() {
|
|||||||
|
|
||||||
if use ruby; then
|
if use ruby; then
|
||||||
SITERUBY="$(ruby23 -r rbconfig -e 'print RbConfig::CONFIG["sitelibdir"]')"
|
SITERUBY="$(ruby23 -r rbconfig -e 'print RbConfig::CONFIG["sitelibdir"]')"
|
||||||
|
SITERUBYARCH="$(ruby23 -r rbconfig -e 'print RbConfig::CONFIG["sitearchdir"]')"
|
||||||
MAKE_RULES_RUBY=(
|
MAKE_RULES_RUBY=(
|
||||||
"install_rubydir=\"${ED%/}/${SITERUBY}\""
|
"install_rubydir=\"${ED%/}/${SITERUBY}\""
|
||||||
"install_libdir=\"${ED%/}/${SITERUBY}\""
|
"install_libdir=\"${ED%/}/${SITERUBYARCH}\""
|
||||||
)
|
)
|
||||||
|
|
||||||
# make it use ruby23 only
|
# make it use ruby23 only
|
||||||
|
Loading…
Reference in New Issue
Block a user