summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authoradrianp <adrianp>2006-07-18 21:26:17 +0000
committeradrianp <adrianp>2006-07-18 21:26:17 +0000
commit31feed31a77cd70b2615629a3d7d8978fdb2dadb (patch)
tree086ded4760b0934a3bce39e10d5a32ceddde6be0 /www
parentdebfd8a03de0b4ad39184f53010a893568c9faa6 (diff)
downloadpkgsrc-31feed31a77cd70b2615629a3d7d8978fdb2dadb.tar.gz
Replace an absolute path for sh
Ride the previous nb bump
Diffstat (limited to 'www')
-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