diff options
author | Michał Górny <mgorny@gentoo.org> | 2015-12-06 16:22:48 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2015-12-09 21:41:16 +0100 |
commit | 780e5d99415b57f9f64060e11ffea7c59ffef578 (patch) | |
tree | 4a77b3c8ff7a414fbc22c3d7fd0394ca19b705dc /eclass | |
parent | multilib-build.eclass: Unset global-setting function after use (diff) | |
download | gentoo-780e5d99415b57f9f64060e11ffea7c59ffef578.tar.gz gentoo-780e5d99415b57f9f64060e11ffea7c59ffef578.tar.bz2 gentoo-780e5d99415b57f9f64060e11ffea7c59ffef578.zip |
multilib-build.eclass: Ban deprecated functions in EAPI 6
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/multilib-build.eclass | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/eclass/multilib-build.eclass b/eclass/multilib-build.eclass index 8a3ac7f8ba69..49bebf3f80f8 100644 --- a/eclass/multilib-build.eclass +++ b/eclass/multilib-build.eclass @@ -246,6 +246,8 @@ multilib_parallel_foreach_abi() { multilib_for_best_abi() { debug-print-function ${FUNCNAME} "${@}" + [[ ${EAPI} == [45] ]] || die "${FUNCNAME} is banned in EAPI ${EAPI}, use multilib_is_native_abi() instead" + eqawarn "QA warning: multilib_for_best_abi() function is deprecated and should" eqawarn "not be used. The multilib_is_native_abi() check may be used instead." @@ -580,6 +582,8 @@ multilib_is_native_abi() { multilib_build_binaries() { debug-print-function ${FUNCNAME} "${@}" + [[ ${EAPI} == [45] ]] || die "${FUNCNAME} is banned in EAPI ${EAPI}, use multilib_is_native_abi() instead" + eqawarn "QA warning: multilib_build_binaries is deprecated. Please use the equivalent" eqawarn "multilib_is_native_abi function instead." |