Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Jun 2000 19:29:04 -0400 (EDT)
From:      adrian@ubergeeks.com
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/19277: patch to add gettext option to mod_php port
Message-ID:  <200006142329.TAA05196@cluebie.esolstice.int>

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

>Number:         19277
>Category:       ports
>Synopsis:       Addition of GNU gettext to selectable php modules
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 14 16:30:01 PDT 2000
>Closed-Date:
>Last-Modified:
>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:
>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?200006142329.TAA05196>