Is it possible to add the patches to net-libs/gsoap as provided by http://download.fedora.redhat.com/pub/epel/5/SRPMS/gsoap-2.7.13-2.el5.src.rpm There are openssl fixes and fixes to enable building of shared libraries.
an updated (bumped, patched, improved) ebuild is in my overlay...
+ 19 May 2010; Patrick Lauer <patrick@gentoo.org> + +files/gsoap-2.7.10-fedora-install_soapcpp2_wsdl2h_aux.patch, + +gsoap-2.7.15.ebuild, +files/gsoap-2.7.15-use_libtool.patch, + +files/gsoap-2.7-fedora-openssl.patch: + Bump and fixes from dev-zero, closes #306915