pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/php4 Replace an absolute path for sh



details:   https://anonhg.NetBSD.org/pkgsrc/rev/635ebfd3fa05
branches:  trunk
changeset: 516308:635ebfd3fa05
user:      adrianp <adrianp%pkgsrc.org@localhost>
date:      Tue Jul 18 21:26:17 2006 +0000

description:
Replace an absolute path for sh
Ride the previous nb bump

diffstat:

 www/php4/Makefile      |  3 ++-
 www/php4/files/pear.sh |  2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r bc5aae2f7088 -r 635ebfd3fa05 www/php4/Makefile
--- a/www/php4/Makefile Tue Jul 18 21:21:19 2006 +0000
+++ b/www/php4/Makefile Tue Jul 18 21:26:17 2006 +0000
@@ -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_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 -r bc5aae2f7088 -r 635ebfd3fa05 www/php4/files/pear.sh
--- a/www/php4/files/pear.sh    Tue Jul 18 21:21:19 2006 +0000
+++ b/www/php4/files/pear.sh    Tue Jul 18 21:26:17 2006 +0000
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!@SH@
 
 # first find which PHP binary to use
 if test "x$PHP_PEAR_PHP_BIN" != "x"; then



Home | Main Index | Thread Index | Old Index