1
0

1004-disable-phar-command.patch 1.1 KB

1234567891011121314151617181920212223242526272829303132
  1. --- a/ext/phar/config.m4 2016-08-17 21:50:58.000000000 +0200
  2. +++ b/ext/phar/config.m4 2016-09-20 22:21:28.494934775 +0200
  3. @@ -26,7 +26,7 @@
  4. fi
  5. PHP_ADD_EXTENSION_DEP(phar, hash, true)
  6. PHP_ADD_EXTENSION_DEP(phar, spl, true)
  7. - PHP_ADD_MAKEFILE_FRAGMENT
  8. + #PHP_ADD_MAKEFILE_FRAGMENT
  9. PHP_INSTALL_HEADERS([ext/phar], [php_phar.h])
  10. --- a/configure.in 2016-09-20 22:26:38.000000000 +0200
  11. +++ b/configure.in 2016-09-20 22:42:30.380101556 +0200
  12. @@ -1448,13 +1448,13 @@
  13. INLINE_CFLAGS="$INLINE_CFLAGS $standard_libtool_flag"
  14. CXXFLAGS="$CXXFLAGS $standard_libtool_flag \$(PROF_FLAGS)"
  15. -if test "$PHP_PHAR" != "no" && test "$PHP_CLI" != "no"; then
  16. - pharcmd=pharcmd
  17. - pharcmd_install=install-pharcmd
  18. -else
  19. +#if test "$PHP_PHAR" != "no" && test "$PHP_CLI" != "no"; then
  20. +# pharcmd=pharcmd
  21. +# pharcmd_install=install-pharcmd
  22. +#else
  23. pharcmd=
  24. pharcmd_install=
  25. -fi;
  26. +#fi;
  27. all_targets="$lcov_target \$(OVERALL_TARGET) \$(PHP_MODULES) \$(PHP_ZEND_EX) \$(PHP_BINARIES) $pharcmd"
  28. install_targets="$install_sapi $install_modules $install_binaries install-build install-headers install-programs $install_pear $pharcmd_install"