mysql.eclass seem to be passing --with-ssl to configure which isn't a supported option. When I changed the eclass to pass --with-openssl instead, it worked fine.
Fixed, in cvs the bug was introduced during testing of the 5.2.0-falcon where "--with-openssl" is deprecated. my apologies for the inconvenience.