Created attachment 336992 [details]
media-gfx/nvidia-cg-toolkit-2.1.0017-r1 build log
Not exist symlink on path /opt/nvidia-cg-toolkit/ ./lib -> ./lib64. This causes an error when compilatin same applications (see Bug #454112 Bug #259169) on amd64 architecture.
Please add symlink ./lib -> ./lib64 on path /opt/nvidia-cg-toolkit/ in package files tree.
Created attachment 336994 [details]
media-gfx/nvidia-cg-toolkit info log
miheev ~ # ls /opt/nvidia-cg-toolkit/
bin include lib
I use a 3rd-party game-engine build in c++ that also runs into problems due to not finding -lcG and -lcGGL. I manually created the symlink and everything works fine (regarding that engine).
As far as I can tell, all it would take is two additional 'dosym' lines in the ebuild and that should do the trick.