From a88ee5eab3c166ffafcdc6655081ea5c8c85d0bd Mon Sep 17 00:00:00 2001 From: Beech Rintoul Date: Thu, 20 Dec 2007 02:19:18 +0000 Subject: - Fix patch-lib_Horde_NLS.php - Bump portrevision Approved by: linimon (mentor) --- www/horde-base/Makefile | 2 +- www/horde-base/files/patch-lib_Horde_NLS.php | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'www/horde-base') diff --git a/www/horde-base/Makefile b/www/horde-base/Makefile index a680116737b8..e30bbd29cb56 100644 --- a/www/horde-base/Makefile +++ b/www/horde-base/Makefile @@ -8,7 +8,7 @@ PORTNAME= horde DISTVERSIONPREFIX= DISTVERSION= 3.1.5 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= www PKGNAMEPREFIX= PKGNAMESUFFIX= -base diff --git a/www/horde-base/files/patch-lib_Horde_NLS.php b/www/horde-base/files/patch-lib_Horde_NLS.php index 8e157c276647..4404276773d0 100644 --- a/www/horde-base/files/patch-lib_Horde_NLS.php +++ b/www/horde-base/files/patch-lib_Horde_NLS.php @@ -4,10 +4,10 @@ setlocale(LC_ALL, $lang_charset); } } -+        /* avoid FreeBSD issapce(3) bug */ -+        if(NLS::getCharset() == "UTF-8"){ -+            setlocale(LC_CTYPE,"C"); -+        } ++ /* avoid FreeBSD issapce(3) bug */ ++ if(NLS::getCharset() == "UTF-8"){ ++ setlocale(LC_CTYPE,"C"); ++ } @putenv('LANG=' . $lang_charset); @putenv('LANGUAGE=' . $lang_charset); } -- cgit v1.2.3