patch-scripts_php-config_in 1.1 KB

1234567891011121314151617181920212223242526272829303132
  1. $OpenBSD: patch-scripts_php-config_in,v 1.1.1.1 2013/08/07 16:46:56 robert Exp $
  2. --- scripts/php-config.in.orig.port Thu Jul 18 16:37:33 2013
  3. +++ scripts/php-config.in Sun Jul 28 11:30:20 2013
  4. @@ -1,12 +1,12 @@
  5. #! /bin/sh
  6. SED="@SED@"
  7. -prefix="@prefix@"
  8. +prefix='/var/www/pear'
  9. datarootdir="@datarootdir@"
  10. exec_prefix="@exec_prefix@"
  11. version="@PHP_VERSION@"
  12. vernum="@PHP_VERSION_ID@"
  13. -include_dir="@includedir@/php"
  14. +include_dir="@PEAR_INSTALLDIR@/include"
  15. includes="-I$include_dir -I$include_dir/main -I$include_dir/TSRM -I$include_dir/Zend -I$include_dir/ext -I$include_dir/ext/date/lib"
  16. ldflags="@PHP_LDFLAGS@"
  17. libs="@EXTRA_LIBS@"
  18. @@ -24,10 +24,11 @@ php_sapis="@PHP_INSTALLED_SAPIS@"
  19. for sapi in $php_sapis; do
  20. case $sapi in
  21. cli)
  22. - php_cli_binary="@bindir@/${program_prefix}php${program_suffix}${exe_extension}"
  23. + php_cli_binary="/usr/local/bin/php${program_suffix}"
  24. ;;
  25. cgi)
  26. php_cgi_binary="@bindir@/${program_prefix}php-cgi${program_suffix}${exe_extension}"
  27. + php_cgi_binary="/usr/local/bin/php-cgi${program_suffix}"
  28. ;;
  29. esac
  30. done