At the moment the kde4-meta.eclass expects koffice2 apps (e.g. krita) to have an "openexr" useflag to determine if imagemagick has to be compiled with "openexr" useflag activated. Since koffice2 apps do not offer this useflag currently, we should drop this from the eclass (or alternativly include the useflag). Reproducible: Always Steps to Reproduce:
Yay for cheese. Already fixed. And ftr, this is wrong code in paludis that inherited your issue, have fun with your package manager. In cvs i wrote 8 line check to do what i did before with that one line before.