nss can't find nspr libs in /usr/lib and hence borks. The attached patch modifies the sed script to add ${ROOT}usr/lib instead of /usr/lib for patch search. Reproducible: Always Steps to Reproduce: 1. ROOT="/opt" emerge nss 2. 3. Actual Results: link fails to find libnspr4.so Expected Results: it should link against libs from ${ROOT}usr/lib instead of /usr/lib.
Created attachment 34292 [details, diff] change /usr/lib to ${ROOT}usr/lib while sed'ing
Created attachment 34305 [details, diff] ${ROOT}usr/include/nspr as well
alrighty .. thanks for the patch. its going into portage.