From adrian@mail.esolstice.com  Wed Jun 14 16:25:14 2000
Return-Path: <adrian@mail.esolstice.com>
Received: from esummer.esolstice.com (esummer.esolstice.com [209.145.65.15])
	by hub.freebsd.org (Postfix) with ESMTP id 9F41F37B8E1
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 14 Jun 2000 16:25:13 -0700 (PDT)
	(envelope-from adrian@mail.esolstice.com)
Received: from cluebie.esolstice.int (an-fw.esolstice.com [208.241.63.212])
	by esummer.esolstice.com (8.9.3/8.9.3) with ESMTP id TAA47046
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 14 Jun 2000 19:27:32 -0400 (EDT)
	(envelope-from adrian@mail.esolstice.com)
Received: (from adrian@localhost)
	by cluebie.esolstice.int (8.9.3/8.9.3) id TAA05196;
	Wed, 14 Jun 2000 19:29:04 -0400 (EDT)
	(envelope-from adrian@mail.esolstice.com)
Message-Id: <200006142329.TAA05196@cluebie.esolstice.int>
Date: Wed, 14 Jun 2000 19:29:04 -0400 (EDT)
From: adrian@ubergeeks.com
Sender: adrian@mail.esolstice.com
Reply-To: adrian@ubergeeks.com
To: FreeBSD-gnats-submit@freebsd.org
Subject: patch to add gettext option to mod_php port
X-Send-Pr-Version: 3.2

>Number:         19277
>Category:       ports
>Synopsis:       Addition of GNU gettext to selectable php modules
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    dirk
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 14 16:30:01 PDT 2000
>Closed-Date:    Sat Jul 1 07:26:17 PDT 2000
>Last-Modified:  Sat Jul 01 07:26:35 PDT 2000
>Originator:     Adrian Filipi-Martin
>Release:        FreeBSD 3.4-RELEASE i386
>Organization:
Ubergeeks Consulting
>Environment:

	/usr/ports from today.

>Description:

	PHP supports the GNU gettext library for adding internationalization
	to your PHP code.  In particular newer version of the IMP web-mail
	system relie upon gettext.

>How-To-Repeat:

	N/A

>Fix:
	
	Apply the following patch to scripts/configure.php.

--- configure.php.orig	Wed Jun 14 19:06:17 2000
+++ configure.php	Wed Jun 14 19:11:41 2000
@@ -14,6 +14,7 @@
 GD		"GD library support" OFF \
 FreeType	"TrueType font rendering (implies GD)" OFF \
 zlib		"zlib library support" ON \
+gettext		"gettext library support" OFF \
 mcrypt		"Encryption support" OFF \
 mhash		"Crypto-hashing support" OFF \
 pdflib		"pdflib support (implies zlib)" OFF \
@@ -68,6 +69,10 @@
 		\"zlib\")
 			echo "CONFIGURE_ARGS+=--with-zlib"
 			ZLIB=1
+			;;
+		\"gettext\")
+			echo "LIB_DEPENDS+=	intl.1:${PORTSDIR}/devel/gettext"
+			echo "CONFIGURE_ARGS+=--with-gettext"
 			;;
 		\"mcrypt\")
 			echo "LIB_DEPENDS+=	mcrypt-2.2.2:\${PORTSDIR}/security/libmcrypt"

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports->dirk 
Responsible-Changed-By: alex 
Responsible-Changed-When: Tue Jun 27 07:32:44 PDT 2000 
Responsible-Changed-Why:  
Over to maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=19277 
State-Changed-From-To: open->closed 
State-Changed-By: dirk 
State-Changed-When: Sat Jul 1 07:26:17 PDT 2000 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=19277 
>Unformatted:
