summaryrefslogtreecommitdiffstats
path: root/php-man.patch
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2014-07-07 10:37:43 +0200
committerRemi Collet <fedora@famillecollet.com>2014-07-07 10:37:43 +0200
commit4fec15b899dba55d93c3b616c9e26720bf24f5ee (patch)
treedf14b65260d4f24bd4066dbe68c09d48fe85426f /php-man.patch
parentcd967adc8255376d9b3aa70f4a255c3f228c2a8b (diff)
PHP 5.6.0RC2
Diffstat (limited to 'php-man.patch')
-rw-r--r--php-man.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/php-man.patch b/php-man.patch
new file mode 100644
index 0000000..60ab16d
--- /dev/null
+++ b/php-man.patch
@@ -0,0 +1,26 @@
+From 07d227229771015600789ae36e3b12ce29b1f339 Mon Sep 17 00:00:00 2001
+From: Andy Thompson <me@andytson.com>
+Date: Sat, 5 Jul 2014 13:05:05 +0100
+Subject: [PATCH] Fix phpdbg.1 man page installation when build != src
+ directory
+
+---
+ Makefile.frag | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/Makefile.frag b/Makefile.frag
+index b276aaa..36c7512 100644
+--- a/sapi/phpdbg/Makefile.frag
++++ b/sapi/phpdbg/Makefile.frag
+@@ -28,7 +28,7 @@ install-phpdbg: $(BUILD_BINARY)
+ @$(INSTALL) -m 0755 $(BUILD_BINARY) $(INSTALL_ROOT)$(bindir)/$(program_prefix)phpdbg$(program_suffix)$(EXEEXT)
+ @echo "Installing phpdbg man page: $(INSTALL_ROOT)$(mandir)/man1/"
+ @$(mkinstalldirs) $(INSTALL_ROOT)$(mandir)/man1
+- @$(INSTALL_DATA) sapi/phpdbg/phpdbg.1 $(INSTALL_ROOT)$(mandir)/man1/$(program_prefix)phpdbg$(program_suffix).1
++ @$(INSTALL_DATA) $(srcdir)/phpdbg.1 $(INSTALL_ROOT)$(mandir)/man1/$(program_prefix)phpdbg$(program_suffix).1
+
+ clean-phpdbg:
+ @echo "Cleaning phpdbg object files ..."
+--
+1.9.2
+