summaryrefslogtreecommitdiff
path: root/packages/glibc-ports/2.12.1/140-disable-ldconfig.patch
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2017-07-13 07:38:03 (GMT)
committerGitHub <noreply@github.com>2017-07-13 07:38:03 (GMT)
commit45c5bb0f484cba724be2c6105801dcce9a1a82d9 (patch)
tree8fd1c8eaa2ef203009d72b6ca6348611dcc5ee1c /packages/glibc-ports/2.12.1/140-disable-ldconfig.patch
parent8f8e131d566af1f577d8fb6e62e6f121b7955472 (diff)
parentb32fcf7c1eea890a2bd3f88487f818ba241aabb1 (diff)
Merge pull request #767 from stilor/packages
Packages
Diffstat (limited to 'packages/glibc-ports/2.12.1/140-disable-ldconfig.patch')
-rw-r--r--packages/glibc-ports/2.12.1/140-disable-ldconfig.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/packages/glibc-ports/2.12.1/140-disable-ldconfig.patch b/packages/glibc-ports/2.12.1/140-disable-ldconfig.patch
new file mode 100644
index 0000000..43330b8
--- /dev/null
+++ b/packages/glibc-ports/2.12.1/140-disable-ldconfig.patch
@@ -0,0 +1,16 @@
+do not bother running ldconfig on DESTDIR. it wants to write the temp cache
+file outside of the chroot. doesnt matter anyways as we wont use the cache
+results (portage will rebuild cache), so running ldconfig is simply a waste
+of time.
+
+diff -durN glibc-2.12.1.orig/Makefile glibc-2.12.1/Makefile
+--- glibc-2.12.1.orig/Makefile 2009-04-23 20:23:03.000000000 +0200
++++ glibc-2.12.1/Makefile 2009-11-13 00:49:49.000000000 +0100
+@@ -116,6 +116,7 @@
+ rm -f $(symbolic-link-list)
+
+ install:
++dont-bother-with-destdir:
+ -test ! -x $(common-objpfx)elf/ldconfig || LC_ALL=C LANGUAGE=C \
+ $(common-objpfx)elf/ldconfig $(addprefix -r ,$(install_root)) \
+ $(slibdir) $(libdir)