0003-configure-disable-the-phar-tool.patch 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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
  5. Disable the 'phar' command-line tool build/installation since it requires
  6. php to run and pack up phar itself in phar format. This would require
  7. a host-php instance and really probably nobody needs the phar tool
  8. on the target.
  9. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
  10. [Gustavo: update for autoreconf/configure.in]
  11. ---
  12. configure.in | 9 ++-------
  13. 1 file changed, 2 insertions(+), 7 deletions(-)
  14. diff --git a/configure.in b/configure.in
  15. index 25c8abf..4dc8a09 100644
  16. --- a/configure.in
  17. +++ b/configure.in
  18. @@ -1445,13 +1445,8 @@ CFLAGS="\$(CFLAGS_CLEAN) $standard_libtool_flag"
  19. INLINE_CFLAGS="$INLINE_CFLAGS $standard_libtool_flag"
  20. CXXFLAGS="$CXXFLAGS $standard_libtool_flag \$(PROF_FLAGS)"
  21. -if test "$PHP_PHAR" != "no" && test "$PHP_CLI" != "no"; then
  22. - pharcmd=pharcmd
  23. - pharcmd_install=install-pharcmd
  24. -else
  25. - pharcmd=
  26. - pharcmd_install=
  27. -fi;
  28. +pharcmd=
  29. +pharcmd_install=
  30. all_targets="$lcov_target \$(OVERALL_TARGET) \$(PHP_MODULES) \$(PHP_ZEND_EX) \$(PHP_BINARIES) $pharcmd"
  31. install_targets="$install_sapi $install_modules $install_binaries install-build install-headers install-programs $install_pear $pharcmd_install"
  32. --
  33. 2.7.4