From 780e5d99415b57f9f64060e11ffea7c59ffef578 Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Sun, 6 Dec 2015 16:22:48 +0100 Subject: multilib-build.eclass: Ban deprecated functions in EAPI 6 --- eclass/multilib-build.eclass | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'eclass') 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." -- cgit v1.2.3-65-gdbad