summaryrefslogtreecommitdiff
path: root/debian/patches/0002-Don-t-run-ldconfig-on-install.patch
diff options
context:
space:
mode:
authorTzafrir Cohen <tzafrir@debian.org>2016-05-11 13:53:23 +0300
committerTzafrir Cohen <tzafrir@debian.org>2016-05-26 23:00:51 +0300
commitf53e790b35ad5f379453716a3a959cba5c24c68b (patch)
tree696f1e7301de37e80cb28cd19161f7e0cb067ab5 /debian/patches/0002-Don-t-run-ldconfig-on-install.patch
parent2c669069c58a6f855a7701b416740f8bdbd25bbc (diff)
Debian packagingdebian
Diffstat (limited to 'debian/patches/0002-Don-t-run-ldconfig-on-install.patch')
-rw-r--r--debian/patches/0002-Don-t-run-ldconfig-on-install.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/debian/patches/0002-Don-t-run-ldconfig-on-install.patch b/debian/patches/0002-Don-t-run-ldconfig-on-install.patch
new file mode 100644
index 0000000..2bc207a
--- /dev/null
+++ b/debian/patches/0002-Don-t-run-ldconfig-on-install.patch
@@ -0,0 +1,22 @@
+From: Tzafrir Cohen <tzafrir@debian.org>
+Date: Sun, 15 May 2016 10:31:34 +0300
+Subject: Don't run ldconfig on install
+
+Another sensible patch. Unlike previous patch, not sure if it will be
+acceptable upstream.
+---
+ Makefile | 3 ---
+ 1 file changed, 3 deletions(-)
+
+diff --git a/Makefile b/Makefile
+index b7a63e9..a117b70 100644
+--- a/Makefile
++++ b/Makefile
+@@ -217,7 +217,4 @@ ifneq ($(wildcard ${PHP_STATIC_LIBRARY}),)
+ ${CP} ${PHP_STATIC_LIBRARY} $(DESTDIR)${INSTALL_LIB}/
+ ${LN} ${PHP_STATIC_LIBRARY} $(DESTDIR)${INSTALL_LIB}/libphpcpp.a
+ endif
+- if `which ldconfig`; then \
+- sudo ldconfig; \
+- fi
+