The new gaim-encryption 2.00beta1 wants nss and nspr as deps but they aren't needed if mozilla is already providing them. It makes no sense to install a second copy if mozilla already installed them. It states on http://gaim-encryption.sourceforge.net/beta.html that the next version will look specifically in xxx/mozilla/nss for include files but the current works if you specify it manually. I havn't tried this yet but I'm about to.
Created attachment 14407 [details] an ebuild this is an ebuild I made. It finds the include files and passes configure, but while compiling it fails with /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lnss3 which is one of the libraries it should find in /usr/lib/mozilla but it's not.
Created attachment 14416 [details] new ebuild This fixes the above problem. It all seems to be working now.
I don't think I'm doing the depend part right on the above ebuild. I have ( ssl? net-www/mozilla : dev-libs/nss ) which depends on mozilla if ssl is in USE but depends on nss if it's not. This isn't what I wanted. I'm not quite sure how to make it depend on mozilla, and if mozilla isn't installed, depend on nss, without a virtual/nss. Other then that the ebuild seems to work fine.
Created attachment 14420 [details] even newer ebuild This one sets a variable which is decided with has_version net-www/mozilla. If returns true, it sets the variable to mozilla, if not, it makes it nss.
Created attachment 14421 [details] oops...newest I left something in the ebuild by accident which I was using for debugging...
Created attachment 14422 [details, diff] a patch to gaim-0.64-r2. this is just a patch version of the above to the gaim-0.64-r2 ebuild.
Sorry, but this kind of conditional for dependencies is UNACCEPTABLE and breaks caching. We will be working out a way to deal with this WRT USE=mozilla and USE=ssl but.