Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 1905

Summary: nss_ldap-174 couldn't install
Product: Gentoo Linux Reporter: David Guerizec <david>
Component: New packagesAssignee: Daniel Robbins (RETIRED) <drobbins>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: 1.1a   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description David Guerizec 2002-04-18 05:00:38 UTC
When trying to emerge net-libs/nss_ldap-174, there is a sandbox access 
violation on the install step. 
Here is a patch to the net-libs/nss_ldap/nss_ldap-174.ebuild script to fix 
this issue: 
 
--- nss_ldap-174.ebuild Sun Dec  2 13:54:54 2001 
+++ ../../backup/nss_ldap-174.ebuild    Thu Apr 18 11:22:58 2002 
@@ -28,15 +28,9 @@ 
 
 src_install() { 
 
-       mkdir ${D}/usr 
-       mkdir ${D}/usr/lib 
+       install -d ${D}/usr/lib 
 
-       make prefix=${D}/usr \ 
-               mandir=${D}/usr/share/man \ 
-               infodir=${D}/usr/share/info \ 
-               sysconfdir=${D}/etc \ 
-               localstatedir=${D}/var/lib \ 
-               install || die 
+       make DESTDIR=${D} install || die 
 
        rm ${D}/etc/ldap.conf 
        ln -s /etc/openldap/ldap.conf ${D}/etc/ldap.conf
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2002-04-18 11:30:43 UTC
a perfect fix -- nice and concise :)

thanks a lot for this.