ebuild and patch to compile with curl (maybe it is a hack but for me it works)
Created attachment 28832 [details] sword-1.5.7.ebuild ebuild for sword-1.5.7
Created attachment 28833 [details] installmgr.patch patch to compile with curl (for sword-1.5.7)
already in bugzilla sorry for this http://bugs.gentoo.org/show_bug.cgi?id=39300
now in portage ~x86 with your patch. A few notes: use econfigure and pass configuration options to it.
Sorry, didn't post all of my comments earlier and hit the "commit" button too fast. Alright, all patches should be done in the src_unpack function, and you shouldn't have to tell the user to disable sandbox. I did fix it up for you. Also, "true" is defined, not "TRUE", so instead of taking out "TRUE" in the patch, I changed it to "true" as noted in bug #44041.