There are absolutely no errors when building from modified ebuild (s/openssl/libressl/) and the package itself works properly. Just a little ebuild fix would do.