pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/pear Fix some pkglint warnings



details:   https://anonhg.NetBSD.org/pkgsrc/rev/af8269c72e4b
branches:  trunk
changeset: 551812:af8269c72e4b
user:      adrianp <adrianp%pkgsrc.org@localhost>
date:      Sat Dec 20 14:42:50 2008 +0000

description:
Fix some pkglint warnings
Apply a fix for PR#39284

diffstat:

 lang/pear/MESSAGE       |  4 ++--
 lang/pear/Makefile      |  7 ++++---
 lang/pear/files/pear.sh |  4 ++--
 3 files changed, 8 insertions(+), 7 deletions(-)

diffs (59 lines):

diff -r fcbc0b40202a -r af8269c72e4b lang/pear/MESSAGE
--- a/lang/pear/MESSAGE Sat Dec 20 14:39:15 2008 +0000
+++ b/lang/pear/MESSAGE Sat Dec 20 14:42:50 2008 +0000
@@ -1,5 +1,5 @@
 ===========================================================================
-$NetBSD: MESSAGE,v 1.2 2008/08/17 18:40:36 adrianp Exp $
+$NetBSD: MESSAGE,v 1.3 2008/12/20 14:42:50 adrianp Exp $
 
 In order to use PEAR packages you may want to alter the default
 include_path of PHP to include the PEAR installation directory where the
@@ -12,6 +12,6 @@
 
        include_path = ".:${PREFIX}/lib/php"
 
-This is done automatically if you are running either php>=4.4.9 or 
+This is done automatically if you are running either php>=4.4.9 or
 php>=5.2.6nb2.
 ===========================================================================
diff -r fcbc0b40202a -r af8269c72e4b lang/pear/Makefile
--- a/lang/pear/Makefile        Sat Dec 20 14:39:15 2008 +0000
+++ b/lang/pear/Makefile        Sat Dec 20 14:42:50 2008 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.7 2008/09/15 11:54:21 adrianp Exp $
+# $NetBSD: Makefile,v 1.8 2008/12/20 14:42:50 adrianp Exp $
 #
 
 DISTNAME=      PEAR-1.5.4
-PKGREVISION=   2
+PKGREVISION=   3
 PKGNAME=       ${PHP_PKG_PREFIX}-${DISTNAME:S/PEAR/pear/}
 CATEGORIES=    lang
 MASTER_SITES=  http://download.pear.php.net/package/
@@ -90,7 +90,8 @@
        ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/pear
        ${PREFIX}/bin/php ${WRKSRC}/install/go-pear.php local
        ${INSTALL_SCRIPT} ${WRKSRC}/pear.sh ${PREFIX}/bin/pear
-       ${CP} ${WRKSRC}/pear.conf ${PREFIX}/share/examples/pear/pear.conf
+       ${INSTALL_DATA} ${WRKSRC}/pear.conf \
+               ${PREFIX}/share/examples/pear/pear.conf
 
 .include "${PHPPKGSRCDIR}/buildlink3.mk"
 
diff -r fcbc0b40202a -r af8269c72e4b lang/pear/files/pear.sh
--- a/lang/pear/files/pear.sh   Sat Dec 20 14:39:15 2008 +0000
+++ b/lang/pear/files/pear.sh   Sat Dec 20 14:42:50 2008 +0000
@@ -1,6 +1,6 @@
 #!@SH@
 #
-# $Id: pear.sh,v 1.1.1.1 2007/05/05 21:21:47 adrianp Exp $
+# $Id: pear.sh,v 1.2 2008/12/20 14:42:50 adrianp Exp $
 
 # first find which PHP binary to use
 if test "x$PHP_PEAR_PHP_BIN" != "x"; then
@@ -27,4 +27,4 @@
   fi
 fi
 
-exec $PHP -C -q $INCARG -d output_buffering=1 -d open_basedir="" -d safe_mode=0 -d register_argc_argv="On" -d auto_prepend_file="" -d auto_append_file="" -d memory_limit=12M $INCDIR/pearcmd.php "$@"
+exec $PHP -C -q $INCARG -d output_buffering=1 -d open_basedir="" -d safe_mode=0 -d register_argc_argv="On" -d auto_prepend_file="" -d auto_append_file="" $INCDIR/pearcmd.php "$@"



Home | Main Index | Thread Index | Old Index