On Tue, Jan 22, 2013 at 06:51:54AM -0800, Zac Medico wrote: > On 01/21/2013 10:22 PM, Sergey Popov wrote: > > 22.01.2013 08:23, Mike Gilbert wrote: > >> I guess this change is ok, given that I can opt-out fairly easily. Zac's > >> workaround for binary packages makes me feel better too. > > > > I am curious, can not this check be added to eclass? Or eclass does not > > know about type of merged package? > > Since EAPI 4 we have the MERGE_TYPE variable which has 3 possible > values: source, buildonly, or binary. # MERGE_TYPE = EAPI 4+ # EMERGE_FROM = EAPI 0-3 _frombin=${MERGE_TYPE}${EMERGE_FROM} [[ ${_frombin//binary} == ${_frombin} ]] && [[ ${CONFIG_CHECK_FATAL+set} == set ]] || CONFIG_CHECK_FATAL=1
But probably easier to just set it in bashrc/catalystrc/make.conf -- Robin Hugh Johnson Gentoo Linux: Developer, Trustee & Infrastructure Lead E-Mail : robb...@gentoo.org GnuPG FP : 11ACBA4F 4778E3F6 E4EDF38E B27B944E 34884E85