From owner-freebsd-ports Fri Nov 30 11:10: 9 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id B1A5137B41D for ; Fri, 30 Nov 2001 11:10:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id fAUJA1C33163; Fri, 30 Nov 2001 11:10:01 -0800 (PST) (envelope-from gnats) Received: from berkeley.sa2c.net (berkeley.sa2c.net [61.194.193.50]) by hub.freebsd.org (Postfix) with ESMTP id E8F8C37B416; Fri, 30 Nov 2001 11:01:16 -0800 (PST) Received: by berkeley.sa2c.net (Postfix, from userid 3104) id 95F5A1A056; Sat, 1 Dec 2001 04:01:15 +0900 (JST) Message-Id: <20011130190115.95F5A1A056@berkeley.sa2c.net> Date: Sat, 1 Dec 2001 04:01:15 +0900 (JST) From: NIIMI Satoshi Reply-To: NIIMI Satoshi To: FreeBSD-gnats-submit@freebsd.org Cc: dirk@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/32405: Japanese encoding translation support for mod_php4 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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