pkgsrc-Bugs archive

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

pkg/43744: [PATCH] lang/php/MESSAGE.module update



        Note: There was a bad value `now' for the field `Priority'.
        It was set to the default value of `medium'.

>Number:         43744
>Category:       pkg
>Synopsis:       lang/php/MESSAGE.module should tell more friendly message
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Thu Aug 12 02:15:00 +0000 2010
>Originator:     Makoto Fujiwara
>Release:        NetBSD 5.0_STABLE
>Organization:
KINU Corporation
>Environment:
NetBSD ap2-php4 5.0_STABLE NetBSD 5.0_STABLE (XEN3PAE_DOMU) #0: Mon Feb  8 
19:56:58 UTC 2010  
builds%b7.netbsd.org@localhost:/home/builds/ab/netbsd-5/i386/201002080000Z-obj/home/builds/ab/netbsd-5/src/sys/arch/i386/compile/XEN3PAE_DOMU
 i386
>Description:
        The MESSAGE for php module, like php-mbstring, does not tell
        the install directory.
        pkg_info -D php-mbstring will tell following now:
        
===========================================================================
        $NetBSD: MESSAGE.module,v 1.2 2004/11/05 21:50:11 jdolecek Exp $
        
        To enable this module, add the following to /usr/pkg/etc/php.ini:
        
            extension=mbstring.so
        
        and make sure extension_dir points to the dir where mbstring.so is.
        
        Then restart your PHP5-enabled HTTP server to load this module.
        
===========================================================================
        Users may waste a time to find where mbstring.so is installed.

>How-To-Repeat:
        cd converters/php-mbstring;
        make package-install
        or after installation
        pkg_info -D php5-mbstring
>Fix:
Index: lang/php/MESSAGE.module
===================================================================
RCS file: /e/cvsync/cvsync/pkgsrc/lang/php/MESSAGE.module,v
retrieving revision 1.2
diff -u -r1.2 MESSAGE.module
--- lang/php/MESSAGE.module     5 Nov 2004 21:50:11 -0000       1.2
+++ lang/php/MESSAGE.module     12 Aug 2010 01:46:23 -0000
@@ -1,11 +1,13 @@
 ===========================================================================
 $NetBSD: MESSAGE.module,v 1.2 2004/11/05 21:50:11 jdolecek Exp $
 
+${PREFIX}/${PHP_EXTENSION_DIR}/${MODNAME}.so is installed.
 To enable this module, add the following to ${PKG_SYSCONFDIR}/php.ini:
 
     extension=${MODNAME}.so
+    extension_dir = ${PREFIX}/${PHP_EXTENSION_DIR}
 
-and make sure extension_dir points to the dir where ${MODNAME}.so is.
+The second line is for extension_dir points to the dir where ${MODNAME}.so is.
 
 Then restart your ${PKG_PHP}-enabled HTTP server to load this module.
 ===========================================================================



Home | Main Index | Thread Index | Old Index