Configuration script "wscript" contains the line: conf.check (lib='Xss', libpath='/usr/X11R6/lib', mandatory=False) which seems to link the binary with libXss (x11-libs/libXScrnSaver) when one is installed. This seems strange: if libXScrnSaver is required (which it apparently is not), then it should be listed in RDEPEND, and if it's not, then perhaps wscript needs to be patched in order to prevent unnecessary linkage.
+ 28 Oct 2011; Samuli Suominen <ssuominen@gentoo.org> midori-0.4.0.ebuild, + midori-0.4.1.ebuild, midori-9999.ebuild: + Fix missing x11-libs/libXScrnSaver depend wrt #388795 by "Faustus" As in, it's really used in midori/main.c, both header & lib
*** Bug 389197 has been marked as a duplicate of this bug. ***