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

1234567891011121314151617181920212223242526272829303132333435363738394041
  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. Signed-off-by: Adam Duskett <aduskett@gmail.com>
  12. [Aduskett: update for 7.3.0]
  13. ---
  14. configure.ac | 9 ++-------
  15. 1 file changed, 2 insertions(+), 7 deletions(-)
  16. diff --git a/configure.ac b/configure.ac
  17. index d20af76..7f02f1a 100644
  18. --- a/configure.ac
  19. +++ b/configure.ac
  20. @@ -1472,13 +1472,8 @@ CFLAGS="\$(CFLAGS_CLEAN) $standard_libtool_flag"
  21. INLINE_CFLAGS="$INLINE_CFLAGS $standard_libtool_flag"
  22. CXXFLAGS="$CXXFLAGS $standard_libtool_flag \$(PROF_FLAGS)"
  23. -if test "$PHP_PHAR" != "no" && test "$PHP_CLI" != "no"; then
  24. - pharcmd=pharcmd
  25. - pharcmd_install=install-pharcmd
  26. -else
  27. - pharcmd=
  28. - pharcmd_install=
  29. -fi;
  30. +pharcmd=
  31. +pharcmd_install=
  32. all_targets="$lcov_target \$(OVERALL_TARGET) \$(PHP_MODULES) \$(PHP_ZEND_EX) \$(PHP_BINARIES) $pharcmd"
  33. install_targets="$install_sapi $install_modules $install_binaries install-build install-headers install-programs $install_pear $pharcmd_install"
  34. --
  35. 2.14.3