---
 eclass/distutils-r1.eclass | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass
index e55e2e4..6054f27 100644
--- a/eclass/distutils-r1.eclass
+++ b/eclass/distutils-r1.eclass
@@ -691,6 +691,8 @@ _distutils-r1_run_foreach_impl() {
        debug-print-function ${FUNCNAME} "${@}"
 
        if [[ ${DISTUTILS_NO_PARALLEL_BUILD} ]]; then
+               [[ ${EAPI} == [45] ]] || die "DISTUTILS_NO_PARALLEL_BUILD is 
banned in EAPI ${EAPI}"
+
                eqawarn "DISTUTILS_NO_PARALLEL_BUILD is no longer meaningful. 
Now all builds"
                eqawarn "are non-parallel. Please remove it from the ebuild."
 
-- 
2.6.3


Reply via email to