summaryrefslogtreecommitdiff
path: root/packages/glibc/2.12.1/140-disable-ldconfig.patch
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2017-08-24 23:24:09 (GMT)
committerGitHub <noreply@github.com>2017-08-24 23:24:09 (GMT)
commit1b3ed29eb9add1b9bc9773fe2565cc5af09810a8 (patch)
tree1a2693774071358985340fbbc70c3fb4fc5ba928 /packages/glibc/2.12.1/140-disable-ldconfig.patch
parent8e8417226d5cdd90896df2c585ad03a995e5e9a1 (diff)
parent961ea1938204e4fc9199c2ff5933caaa1e3d0710 (diff)
Merge pull request #810 from stilor/fix-patching-ports
Fix patching ports
Diffstat (limited to 'packages/glibc/2.12.1/140-disable-ldconfig.patch')
-rw-r--r--packages/glibc/2.12.1/140-disable-ldconfig.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/packages/glibc/2.12.1/140-disable-ldconfig.patch b/packages/glibc/2.12.1/140-disable-ldconfig.patch
new file mode 100644
index 0000000..43330b8
--- /dev/null
+++ b/packages/glibc/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)