I've encountered several packages in the last week or two where I had to add USE_LANGUAGES= c++ to the Makefile. I don't understand why this is suddenly needed; it's magic to me -- but doing that has solved the problem with some packages that use C++.