Dnia 28 listopada 2015 14:24:17 CET, Justin Lecher <j...@gentoo.org> napisał(a): >Signed-off-by: Justin Lecher <j...@gentoo.org> >--- > eclass/virtualx.eclass | 4 ++++ > 1 file changed, 4 insertions(+) > >diff --git a/eclass/virtualx.eclass b/eclass/virtualx.eclass >index a7f17ec..615ff0e 100644 >--- a/eclass/virtualx.eclass >+++ b/eclass/virtualx.eclass >@@ -59,6 +59,7 @@ case ${VIRTUALX_REQUIRED} in > RDEPEND="" > ;; > optional|tests) >+ [[ ${EAPI} == [2345] ]] || die 'Values "optional" and "tests" >are >unsupported for VIRTUALX_REQUIRED'
You can now make eutils conditional to EAPI. > # deprecated section YAY. > eqawarn "VIRTUALX_REQUIRED=optional and VIRTUALX_REQUIRED=tests > are >deprecated." > eqawarn "You can drop the variable definition completely from >ebuild," >@@ -177,6 +178,9 @@ virtualmake() { > Xmake() { > debug-print-function ${FUNCNAME} "$@" > >+ [[ ${EAPI} == [2345] ]] \ >+ || die "${FUNCNAME} is removed in EAPI > 5; use Xemake -j1 >instead" >+ > eqawarn "you should not execute make directly" > eqawarn "rather execute Xemake -j1 if you have issues with parallel >make" > VIRTUALX_COMMAND="emake -j1" virtualmake "$@" -- Sent from my Android device with K-9 Mail. Please excuse my brevity.