Lines 927-932
___best_version_and_has_version_common() {
Link Here
|
927 |
fi ;; |
927 |
fi ;; |
928 |
esac |
928 |
esac |
929 |
|
929 |
|
|
|
930 |
if ___eapi_has_prefix_variables && |
931 |
has "${root_arg}" '--host-root' '-b' && |
932 |
has stacked-prefix ${FEATURES} && |
933 |
[[ -z ${ROOT%/} ]] && |
934 |
[[ ${CBUILD} == ${CHOST} ]] && |
935 |
[[ ${EPREFIX} != ${BROOT-${PORTAGE_OVERRIDE_EPREFIX}} ]] && |
936 |
:; then |
937 |
# When we merge into another EPREFIX, but not into some ROOT, |
938 |
# and CHOST is equal to CBUILD, build tools found in EPREFIX |
939 |
# perfectly work for the current build environment. |
940 |
# In a "stacked prefix" we explicitly utilize this situation. |
941 |
"${FUNCNAME[1]}" "${atom}" && return 0 |
942 |
fi |
943 |
|
930 |
if [[ -n $PORTAGE_IPC_DAEMON ]] ; then |
944 |
if [[ -n $PORTAGE_IPC_DAEMON ]] ; then |
931 |
cmd+=("${PORTAGE_BIN_PATH}"/ebuild-ipc "${FUNCNAME[1]}" "${root}" "${atom}") |
945 |
cmd+=("${PORTAGE_BIN_PATH}"/ebuild-ipc "${FUNCNAME[1]}" "${root}" "${atom}") |
932 |
else |
946 |
else |