www-servers/nginx-0.6.24 pass to ./configure script options --with-imap, which is deprecated. The fix is in attach. Reproducible: Always Actual Results: ebuild just do not build nginx with mail module support in and combination of USE flash.
Created attachment 143476 [details, diff] fix for mail module.
Is the patch reversed or something? Please, attach a *unified* diff, this context stuff is unreadable.
Created attachment 143478 [details, diff] fix for mail module, version 2.
Possible also it time to request stabilization of 0.6.26 because: 1. it in portage almost during a month, 2. 0.6.25, 0.6.26 is just bug-fix releases, no new functionality was added. Could you clarify if the newer version is affected by this bug?
You can also build nginx with ssl support for mail, here is a updated patch with the support of ssl with imap. And it is a unified one, as requested by the developper :)
Created attachment 164799 [details, diff] unified diff to fix --with-imap usage, and support ssl for mail,
*** Bug 261063 has been marked as a duplicate of this bug. ***
Fixed in nginx-0.7.64-r1 (will port to the 0.8.x branch soon). Thanks!