nvidia_drv.so should only be installed on USE=dlloader, and nvidia_drv.o should only be installed if USE=-dlloader. This will avoid potential weird conflicts when both get installed.
Created attachment 57790 [details, diff] nvidia-glx-1.0.7174-r3.ebuild.patch Adds dlloader flag.
What about using eutils.eclass' built_with_use instead since we care how xorg-x11 was built in this case.
That doesn't allow for the case where you're "building" a binary for another box, unless you're very tricky with it.
I was going to remove the installation of nvidia_drv.so as Bug #96514 explains a problem with having both installed. NVIDIA also does not install this if you "make install" from their source. Is this dlloader fix OK with you Jeremy or do you want to do something more complex? Can someone direct me to an explanation of what the dlloader USE flag is for? It's not in the USE list.
Sure it's on the USE list, xorg-x11 uses it.
I found it in the use.local.desc file, not in the use.desc file. I agree that this patch is the way we should go. Now Jeremy just needs to sign off on it.
Seeing that this bug is over a month old now. I have taken your fix with a minor modification and applied it to version 1.0.7664 and 1.0.7667 of the driver. If there is a better fix for this, we can apply it later. This will resolve Bug #96514 also.
Augustus, how about use.local.desc?
What did I miss?
There doesn't seem to be an entry in use.local.desc for nvidia-glx, even though the flag exists in IUSE now. Maybe this should be moved to use.desc instead since it's used on multiple packages.
I think I'm suppose to add it. It doesn't seem auto generated. Is that what I should do?
Ya, you have to add it. Donnie, should we consider making this a global use flag instead of local?
No, it's not in wide enough use for global.
I have added the entry. I man re-resolving this bug. Thanks for the info guys.