openbsd-ports/www/pear/files/patch-usr_local_bin_peardev
2011-07-08 18:40:45 +00:00

16 lines
393 B
Plaintext

--- usr/local/bin/peardev.orig Fri Jul 8 20:30:24 2011
+++ usr/local/bin/peardev Fri Jul 8 20:30:39 2011
@@ -4,10 +4,10 @@
if test "x$PHP_PEAR_PHP_BIN" != "x"; then
PHP="$PHP_PEAR_PHP_BIN"
else
- if test "/usr/local/bin/php" = '@'php_bin'@'; then
+ if test "${MODPHP_BIN}" = '@'php_bin'@'; then
PHP=php
else
- PHP="/usr/local/bin/php"
+ PHP="${MODPHP_BIN}"
fi
fi