0003-disable-pharcmd.patch 1.1 KB

123456789101112131415161718192021222324252627
  1. Disable the 'phar' command-line tool build/installation since it requires
  2. php to run and pack up phar itself in phar format. This would require
  3. a host-php instance and really probably nobody needs the phar tool
  4. on the target.
  5. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
  6. [Gustavo: update for autoreconf/configure.in]
  7. diff -Nura php-5.6.7.orig/configure.in php-5.6.7/configure.in
  8. --- php-5.6.7.orig/configure.in 2015-04-08 11:08:10.815835010 -0300
  9. +++ php-5.6.7/configure.in 2015-04-08 11:16:20.460467444 -0300
  10. @@ -1437,13 +1437,8 @@
  11. INLINE_CFLAGS="$INLINE_CFLAGS $standard_libtool_flag"
  12. CXXFLAGS="$CXXFLAGS $standard_libtool_flag"
  13. -if test "$PHP_PHAR" != "no" && test "$PHP_CLI" != "no"; then
  14. - pharcmd=pharcmd
  15. - pharcmd_install=install-pharcmd
  16. -else
  17. - pharcmd=
  18. - pharcmd_install=
  19. -fi;
  20. +pharcmd=
  21. +pharcmd_install=
  22. all_targets="$lcov_target \$(OVERALL_TARGET) \$(PHP_MODULES) \$(PHP_ZEND_EX) \$(PHP_BINARIES) $pharcmd"
  23. install_targets="$install_sapi $install_modules $install_binaries install-build install-headers install-programs $install_pear $pharcmd_install"