we've added USE=nocxx to the gcc ebuilds so users can build a gcc w/out C++ support would be nice if xmingw would do the same :) - lang=c,c++ + lang=c + use nocxx || lang=${lang},c++ and then add to DEPEND: !nocxx? ( dev-util/xmingw-runtime dev-util/xmingw-w32api )
The nocxx part is a good addition but the DEPEND line is bad I think. As it would make a circuilar dependency, you need a mingw-gcc compiler to build dev-util/xmingw-runtime object files. But you need these to make the mingw-g++ compiler. So the user would have to first emerge xmingw-gcc with the nocxx use flag, which is a bit much for the average, just want it working out of a box user! ( should add comment in xmingw-ebuild one day though or write some docs! )
hmm, true enough ... as long as the lang part makes it in i'll be happy ;)
Done