Skip site navigation (1)Skip section navigation (2)
Date:      Sat,  1 Dec 2001 04:01:15 +0900 (JST)
From:      NIIMI Satoshi <sa2c@and.or.jp>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        dirk@freebsd.org
Subject:   ports/32405: Japanese encoding translation support for mod_php4 
Message-ID:  <20011130190115.95F5A1A056@berkeley.sa2c.net>

next in thread | raw e-mail | index | archive | help

>Number:         32405
>Category:       ports
>Synopsis:       Japanese encoding translation support for mod_php4
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Nov 30 11:10:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     NIIMI Satoshi
>Release:        FreeBSD 4.4-STABLE i386
>Organization:
>Environment:
System: FreeBSD berkeley.sa2c.net 4.4-STABLE FreeBSD 4.4-STABLE #3: Mon Nov 26 13:33:03 JST 2001 sa2c@berkeley.sa2c.net:/usr/obj/usr/src/sys/GENERIC i386


	
>Description:
Although php4 has native support to translate Japanese encodings,
ports/www/mod_php4/scripts/configure.php does not have option to enable it.

	
>How-To-Repeat:
	
>Fix:
Index: scripts/configure.php
===================================================================
RCS file: /home/ncvs/ports/www/mod_php4/scripts/configure.php,v
retrieving revision 1.149
diff -u -r1.149 configure.php
--- scripts/configure.php	30 Nov 2001 09:40:52 -0000	1.149
+++ scripts/configure.php	30 Nov 2001 18:40:34 -0000
@@ -44,6 +44,7 @@
 pspell		"pspell support" OFF \
 mbregex		"multibyte regular expressions module" OFF \
 mbstring	"multibyte string module" OFF \
+mbstr-enc-trans	"Japanese encoding translation (implies mbstring)" OFF \
 YP		"YP/NIS support" OFF \
 BCMath		"BCMath support" OFF \
 Hyperwave	"Hyperwave support" OFF \
@@ -263,6 +264,13 @@
 			;;
 		\"mbstring\")
 			echo "CONFIGURE_ARGS+=--enable-mbstring"
+			mbstring=1
+			;;
+		\"mbstr-enc-trans\")
+			echo "CONFIGURE_ARGS+=--enable-mbstr-enc-trans"
+			if [ -z "$mbstring" ]; then
+				set $* \"mbstring\"
+			fi
 			;;
 		\"YP\")
 			echo "CONFIGURE_ARGS+=--enable-yp"

	
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011130190115.95F5A1A056>