diff options
Diffstat (limited to 'www')
-rw-r--r-- | www/php4/Makefile | 3 | ||||
-rw-r--r-- | www/php4/files/pear.sh | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/www/php4/Makefile b/www/php4/Makefile index 4ae829dabe2..37d5339479c 100644 --- a/www/php4/Makefile +++ b/www/php4/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.68 2006/07/18 21:21:19 adrianp Exp $ +# $NetBSD: Makefile,v 1.69 2006/07/18 21:26:17 adrianp Exp $ PKGNAME= php-${PHP_BASE_VERS} PKGREVISION= 3 @@ -55,6 +55,7 @@ SUBST_STAGE.pear= pre-install SUBST_FILES.pear= ${WRKDIR}/pear.sh SUBST_SED.pear= -e "s|@php_bin@|${PREFIX}/bin/php|g" SUBST_SED.pear+= -e "s|@php_dir@|${PREFIX}/lib/php|g" +SUBST_SED.pear+= -e "s|@SH@|${SH}|g" SUBST_MESSAGE.pear= Fixing pear installation script. post-extract: diff --git a/www/php4/files/pear.sh b/www/php4/files/pear.sh index a8eb8cdc80f..935673a3e87 100644 --- a/www/php4/files/pear.sh +++ b/www/php4/files/pear.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!@SH@ # first find which PHP binary to use if test "x$PHP_PEAR_PHP_BIN" != "x"; then |