When building www-servers/lighttpd (at least up to 1.4.28) with USE=libev and libev > 4.0 installed, configure phase fails because libev-API changed with 4.0 and lighttpd isn't aware of this yet (ev_loop() is gone). Reproducible: Always Steps to Reproduce: 1. install >=dev-libs/libev-4.0 2. try to install www-servers/lighttpd with USE=libev 3. fail Actual Results: checking for ev_loop in -lev... no configure: error: libev not found Expected Results: checking for ev_loop in -lev... yes You should alter RDEPEND to state 'libev? ( =dev-libs/libev-3* )' or similar.
As libev 4.0 enables the backward compat api by default, it is just a bug in the libev detection; replacing ev_loop with ev_time in the configure scripts should work, similar to http://cgit.lighttpd.net/lighttpd/lighttpd2/commit/?id=eea9b56d16c705c31110e522540febc5cd0282c9
+*lighttpd-1.4.28-r1 (23 Feb 2011) + + 23 Feb 2011; Markos Chandras <hwoarang@gentoo.org> + +lighttpd-1.4.28-r1.ebuild, +files/lighttpd-1.4.28-detect-libev.patch: + Backport upstream patch to detect libev >4.0 correctly. Thanks to Stefan + Bühler <lighttpd@stbuehler.de>. Bug #351371. Upstream + commit:http://cgit.lighttpd.net/lighttpd/lighttpd2/commit/?id=eea9b56d16c705c + 31110e522540febc5cd0282c9 +