actually, in REQUIRES, we have : gtk? ( =x11-libs/gtk+-1.2* ) gtk2? ( =x11-libs/gtk+-2* ) it should be : gtk? ( !gtk2 ( =x11-libs/gtk+-1.2* ) ) gtk2? ( =x11-libs/gtk+-2* ) because it would only build one GUI, which is gtk2 if found actually, it requires both gtk1.2 and gtk2 to be installed.
|| ( gtk? ( =x11-libs/gtk+-1.2* ) gtk2? ( =x11-libs/gtk+-2* ) )
The solution is slightly different since gtk* is not completely optional (does not build without GUI), but it's fixed in .16 now.
Does not build without gui ? Sorry, but that's nonsense. I have installed nessus-2.0.9 on a server where no X and no gtk+ are installed at all. The _nessus-server_ runs fine, and that's what I want. No need for a gui on that machine. The current handling tries to pull in X and GTK+ and all that stuff, which I don't want. Please rethink IUSE, so that the _server_ can at least be built without the need for gtk.
Ok, this looks like a faulty configure script, then. I didn't manage to build it without GUI on a box where X and gtk+ were installed. I'll check it again and see if I can convice it to ignore the installed libraries. Thanks for the hint.
Please just forget my last remark. Looks like I tried --without-x last time (which was in the 2.0.8 ebuild) which does not work, but --disable-gtk works fine. So the old ebuild was more broken than the configure script. Fixed ebuild should be in portage soon.
The new handling with "X?" works very fine, thank you :)