board/csky: fixup gdb instructions in readme.txt
[buildroot-gz.git] / package / php / 0003-configure-disable-the-phar-tool.patch
blob3b64b7b6bfd53e95f4eda9b6e40339dde708ce1a
1 From 5ba6355e489f647c88ca48afbc75965468193181 Mon Sep 17 00:00:00 2001
2 From: Gustavo Zacarias <gustavo@zacarias.com.ar>
3 Date: Tue, 9 Aug 2016 11:51:53 +0200
4 Subject: [PATCH] configure: disable the 'phar' tool
6 Disable the 'phar' command-line tool build/installation since it requires
7 php to run and pack up phar itself in phar format. This would require
8 a host-php instance and really probably nobody needs the phar tool
9 on the target.
11 Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
12 [Gustavo: update for autoreconf/configure.in]
13 ---
14 configure.in | 9 ++-------
15 1 file changed, 2 insertions(+), 7 deletions(-)
17 diff --git a/configure.in b/configure.in
18 index 25c8abf..4dc8a09 100644
19 --- a/configure.in
20 +++ b/configure.in
21 @@ -1445,13 +1445,8 @@ CFLAGS="\$(CFLAGS_CLEAN) $standard_libtool_flag"
22 INLINE_CFLAGS="$INLINE_CFLAGS $standard_libtool_flag"
23 CXXFLAGS="$CXXFLAGS $standard_libtool_flag \$(PROF_FLAGS)"
25 -if test "$PHP_PHAR" != "no" && test "$PHP_CLI" != "no"; then
26 - pharcmd=pharcmd
27 - pharcmd_install=install-pharcmd
28 -else
29 - pharcmd=
30 - pharcmd_install=
31 -fi;
32 +pharcmd=
33 +pharcmd_install=
35 all_targets="$lcov_target \$(OVERALL_TARGET) \$(PHP_MODULES) \$(PHP_ZEND_EX) \$(PHP_BINARIES) $pharcmd"
36 install_targets="$install_sapi $install_modules $install_binaries install-build install-headers install-programs $install_pear $pharcmd_install"
37 --
38 2.7.4