As in summary. Snippet from ebuild: econf $(use_enable debug) \ $(use_enable test tests) \ $(use_enable examples) \ $(use_enable python python-binding) \ $(use_enable ssl encryption) \ $(use_enable static-libs static) \ --with-zlib=system \ ${LOGGING} \ --with-boost=${BOOST_INC} \ --with-boost-libdir=${BOOST_LIB} \ ${BOOST_LIBS} --with-boost and --with-boost-libdir should be removed.
Thanks this is fixed now
*** Bug 421635 has been marked as a duplicate of this bug. ***