Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 1905 - nss_ldap-174 couldn't install
Summary: nss_ldap-174 couldn't install
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Daniel Robbins (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-04-18 05:00 UTC by David Guerizec
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.