I have installed mono and some other mono-related packages in /opt/mono. I have created a script in /etc/env.d that sets PKG_CONFIG_PATH, LDPATH and PATH to the correct values. Manually compiling c# application works great, but when emerging a c# application, it cannot find mcs.
[edit]I forgot to mention that I have already added the packages that I manually installed to /etc/portage/profile/package.provided.[/edit]
How do I make sure that the updated PATH and PKG_CONFIG_PATH apply to portage as well?
