EAPI2 allows to check useflag-dependencies and so portage will show the requirements after calculating dependies. see ebuild-patches as attachment
Created attachment 200013 [details, diff] lighttpd-1.4.20.ebuild.patch
Created attachment 200014 [details, diff] lighttpd-1.4.22-r1.ebuild.patch
Created attachment 200016 [details, diff] lighttpd-1.4.23.ebuild.patch
yea, the ebuilds are already EAPI=2 compliant. The built_with_use check should be avoided unless there is something that I'm not seeing.
we did use USE-based deps, but were told that it can't be used reliably with virtuals. see also bug #260174 i dont have access to the mail from the developer telling me, it's illegal, but i'll investigate as soon as i am back (ping me at the beginning of sept, if needs be). if it is infact legal to use USE-based deps with virtuals, then this may be committed by whoever feels comfortable enough to stand by it ;-) thanks
(In reply to comment #5) > we did use USE-based deps, but were told that it can't be used reliably with > virtuals. see also bug #260174 > > i dont have access to the mail from the developer telling me, it's illegal i did not found any mail on the dev-list about this issue. i've tested this and it works fine. did anybody have more details? Another possibilty is to do it without virtuals.
i forwarded the appropriate mail to gentoo-dev. please reopen if this turns out to be incorrect.