Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 226813

Summary: sci-calculators/qalculate-kde should not use eautoconf but rather leave it to kde_src_compile
Product: Gentoo Linux Reporter: Diego Elio Pettenò (RETIRED) <flameeyes>
Component: New packagesAssignee: Gentoo Science Related Packages <sci>
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 226305    

Description Diego Elio Pettenò (RETIRED) gentoo-dev 2008-06-14 17:24:49 UTC
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.

Comment 1 Markus Dittrich (RETIRED) gentoo-dev 2008-06-15 14:37:19 UTC
Hi Diego,

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?

Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2008-06-15 17:43:21 UTC
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.
Comment 3 Markus Dittrich (RETIRED) gentoo-dev 2008-06-16 10:08:42 UTC
Thanks for the suggestion, Diego! I'll give that a
try. I'll close this bug since the issues in question
have been fixed.