From owner-freebsd-ports Wed Jun 14 16:30: 5 2000 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 3F34637B5A6 for ; Wed, 14 Jun 2000 16:30:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id QAA67737; Wed, 14 Jun 2000 16:30:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from esummer.esolstice.com (esummer.esolstice.com [209.145.65.15]) by hub.freebsd.org (Postfix) with ESMTP id 9F41F37B8E1 for ; 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 ; 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 Reply-To: adrian@ubergeeks.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/19277: patch to add gettext option to mod_php port Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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