The ebuild already seems to have the code to check for firefox it's just not in the RDEPENDS. Here is a quick update to eclipse-sdk-3.0.1-r1 that fixes that. As far as RDEPENDS goes, these are the new mozilla lines: mozilla? ( || ( >=net-www/mozilla-1.5 >=net-www/mozilla-firefox-0.9 ) ) This lets mozilla-firefox pass and the function detect-mozilla already picks the right path for mozilla_dir. Any reason this wouldn't work? Reproducible: Always Steps to Reproduce:
Created attachment 41543 [details] modified eclipse ebuild
I guess other ebuild issues need to be worked out first.
We'd really like to be able to build against Firefox as well. As it stands, our firefox does not include the headers that allow us to do this. However, I'll see if I can't spend some more time with the thinking cap on.
Also, mozilla-bin isn't recognized as mozilla.
Nerdboy kindly requested that dev-tools take over all eclipse stuff.
Firefox includes headers since 3.0.2-r2. Changing the DEPEND to mozilla? ( || (>=www-client/mozilla-1.5 >=www-client/mozilla-firefox-1.0.2-r2)) makes the 3.0.2 ebuild emerge without errors.
This has been done since -1.0.3. Closing the bug, if there are reasons why this would be incorrect, please reopen.