If you want to rebuild autotools, remove the configure file, and then kde_src_compile will take care of the rest. KDE's build system is far from being standard autotools.
For the same reason, please try to get rid of qalculate-kde-makefile.patch as it seems very broken to me.
Thanks much for the helpful suggestions and this should
be all fixed now.
I have one question for you: The kde autotools by default
enable -fno-exceptions which breaks cln against with
qalculate-kde links. In the present ebuild for
qalculate-kde-0.9.6-r1 I "fixed" this by seding the
flag out of configure after kde_src_compile's myconf and
configure. Is there a better/more elegant way to get
rid if this flag in the framework of the kde eclass?
Hrm, this should be fixed by upstream directly, but I suppose you could try passing -fexceptions through AM_CFLAGS so that it re-enables them.
Thanks for the suggestion, Diego! I'll give that a
try. I'll close this bug since the issues in question
have been fixed.