Please find attached openvas-scanner-3.2.5.ebuild that just compiles somehow.
The solution looks ugly, but works.
Created attachment 301021 [details]
Updated ebuild for openvas-scanner
*** Bug 414689 has been marked as a duplicate of this bug. ***
Created attachment 324804 [details]
ebuild with RDEPEND net-analyzer/openvas-libraries-5
Created attachment 324816 [details]
*** This bug has been marked as a duplicate of bug 402379 ***