Quite a messed up patchset this time... there are a few source-level patches, and an ebuild one... there's a patch.bz2 that should go to mirrors to be used.
What this whole stuff do is rebuilding the whole autotools support for smpeg, included libtool, so that it respect LDFLAGS (also solving the -lstdc++ linking need).
It also makes sure that it uses CXXFLAGS as base for compiling C++ files instead of reusing CFLAGS that might contain things that are not supported in C++ and vice-versa.
Created attachment 83303 [details, diff]
Created attachment 83304 [details, diff]
Created attachment 83305 [details, diff]
Created attachment 83306 [details, diff]
Created attachment 83307 [details]
Committed with a revbump as Mr Bones asked on #gentoo-dev :)