openbsd-ports/www/pear/files/patch-usr_local_bin_pecl
2011-11-16 13:29:13 +00:00

17 lines
460 B
Plaintext

$OpenBSD: patch-usr_local_bin_pecl,v 1.2 2011/11/16 13:29:13 robert Exp $
--- usr/local/bin/pecl.orig Wed Nov 16 14:17:44 2011
+++ usr/local/bin/pecl Wed Nov 16 14:18:02 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