summaryrefslogtreecommitdiff
path: root/www/php4
diff options
context:
space:
mode:
authoradrianp <adrianp>2006-07-18 21:26:17 +0000
committeradrianp <adrianp>2006-07-18 21:26:17 +0000
commitd760bbe53b4d0e2039015e0322d5b45e0bbea993 (patch)
tree086ded4760b0934a3bce39e10d5a32ceddde6be0 /www/php4
parent7a56c175788a23c8c018332802090cac5e3609e7 (diff)
downloadpkgsrc-d760bbe53b4d0e2039015e0322d5b45e0bbea993.tar.gz
Replace an absolute path for sh
Ride the previous nb bump
Diffstat (limited to 'www/php4')
-rw-r--r--www/php4/Makefile3
-rw-r--r--www/php4/files/pear.sh2
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