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-16 15:24:22 +0300
commite97c4bd99dd246c2c7fa0cb68769ea2e6d297855 (patch)
tree00c04d0241d5686fed723ffe45c4be7d44185a83 /debian/patches/0002-Don-t-run-ldconfig-on-install.patch
parent570590058d16274005a4994fd8f1046d0eaf7f74 (diff)
Debian packagingdebian-jessie
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
+