patches/glibc/ports-2.13/140-disable-ldconfig.patch
changeset 2438 2ba5655f6297
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/patches/glibc/ports-2.13/140-disable-ldconfig.patch	Tue May 03 00:19:56 2011 +0200
     1.3 @@ -0,0 +1,16 @@
     1.4 +do not bother running ldconfig on DESTDIR.  it wants to write the temp cache
     1.5 +file outside of the chroot.  doesnt matter anyways as we wont use the cache
     1.6 +results (portage will rebuild cache), so running ldconfig is simply a waste
     1.7 +of time.
     1.8 +
     1.9 +diff -durN glibc-2.13.orig/Makefile glibc-2.13/Makefile
    1.10 +--- glibc-2.13.orig/Makefile	2009-04-23 20:23:03.000000000 +0200
    1.11 ++++ glibc-2.13/Makefile	2009-11-13 00:49:49.000000000 +0100
    1.12 +@@ -116,6 +116,7 @@
    1.13 + 	rm -f $(symbolic-link-list)
    1.14 + 
    1.15 + install:
    1.16 ++dont-bother-with-destdir:
    1.17 + 	-test ! -x $(common-objpfx)elf/ldconfig || LC_ALL=C LANGUAGE=C \
    1.18 + 	  $(common-objpfx)elf/ldconfig $(addprefix -r ,$(install_root)) \
    1.19 + 				       $(slibdir) $(libdir)