The package net-misc/neon-0.26.1-r1 was built with -expat but 'pkg-config --libs neon' still tells the system to link with -lexpat. This is actually an upstream bug, as usage of expat by neon depends on its existence at neon installation time, something clearly not wanted. Also, configure --with-expat is supported but not --without-expat. I will report this now upstream. When it's fixed upstream, the ebuild simply needs to set --with or --without-expat according to the use flag.
No, I figured outz that there's a typo in the ebuild preventing it all from working already: the line myconf="${myconf} --with-xml2" should read myconf="${myconf} --with-libxml2"
subject adapted
fixed in cvs, cheers