Bug 55350 - (PATCH)emerge of nss-3.8 fails if ROOT is not "/"
Bug#: 55350 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: All Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: liquidx@gentoo.org Reported By: funtoos@yahoo.com
Component: Ebuilds
URL: 
Summary: (PATCH)emerge of nss-3.8 fails if ROOT is not "/"
Keywords:  
Status Whiteboard: 
Opened: 2004-06-27 12:34 0000
Description:   Opened: 2004-06-27 12:34 0000
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.

------- Comment #1 From devsk 2004-06-27 12:35:31 0000 -------
Created an attachment (id=34292) [details]
change /usr/lib to ${ROOT}usr/lib while sed'ing

------- Comment #2 From devsk 2004-06-27 16:00:09 0000 -------
Created an attachment (id=34305) [details]
${ROOT}usr/include/nspr as well

------- Comment #3 From Alastair Tse (RETIRED) 2004-07-23 23:57:09 0000 -------
alrighty .. thanks for the patch. its going into portage.