dev-libs/libpcre-7.2 needs `epunt_cxx'. I simply added it to the end of src_unpack() in the ebuild.
Actually it does need C++...