diff options
author | Gustavo Zacarias <gustavo@zacarias.com.ar> | 2015-01-22 14:17:46 -0300 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2015-01-23 16:45:25 +0100 |
commit | 9a4d760e1b0d3e4ff81f855486668952a20701df (patch) | |
tree | 0b0ef29e73a4a9ac6bf5a2c1f6a1a0db6dfc6013 /package/php/0003-disable-pharcmd.patch | |
parent | 626030fb1b9de47430254fce4dcf5ac5c526242f (diff) | |
download | buildroot-9a4d760e1b0d3e4ff81f855486668952a20701df.tar.gz buildroot-9a4d760e1b0d3e4ff81f855486668952a20701df.zip |
php: rename patches to new naming convention
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/php/0003-disable-pharcmd.patch')
-rw-r--r-- | package/php/0003-disable-pharcmd.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/package/php/0003-disable-pharcmd.patch b/package/php/0003-disable-pharcmd.patch new file mode 100644 index 0000000000..d4a8464195 --- /dev/null +++ b/package/php/0003-disable-pharcmd.patch @@ -0,0 +1,26 @@ +Disable the 'phar' command-line tool build/installation since it requires +php to run and pack up phar itself in phar format. This would require +a host-php instance and really probably nobody needs the phar tool +on the target. + +Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> + +diff -Nura php-5.5.14.orig/configure php-5.5.14/configure +--- php-5.5.14.orig/configure 2014-07-08 09:52:52.657753194 -0300 ++++ php-5.5.14/configure 2014-07-08 09:53:07.610243933 -0300 +@@ -112930,13 +112930,8 @@ + INLINE_CFLAGS="$INLINE_CFLAGS $standard_libtool_flag" + CXXFLAGS="$CXXFLAGS $standard_libtool_flag" + +-if test "$PHP_PHAR" != "no" && test "$PHP_CLI" != "no"; then +- pharcmd=pharcmd +- pharcmd_install=install-pharcmd +-else +- pharcmd= +- pharcmd_install= +-fi; ++pharcmd= ++pharcmd_install= + + all_targets="$lcov_target \$(OVERALL_TARGET) \$(PHP_MODULES) \$(PHP_ZEND_EX) \$(PHP_BINARIES) $pharcmd" + install_targets="$install_sapi $install_modules $install_binaries install-build install-headers install-programs $install_pear $pharcmd_install" |