Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Dec 2006 20:01:35 GMT
From:      "José G. Juanino"<jjuanino@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/106456: version 1.4.6 of port security/gnupg break locales
Message-ID:  <200612072001.kB7K1ZWu043229@www.freebsd.org>
Resent-Message-ID: <200612072010.kB7KA7BH085918@freefall.freebsd.org>

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

>Number:         106456
>Category:       ports
>Synopsis:       version 1.4.6 of port security/gnupg break locales
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 07 20:10:07 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     José G. Juanino
>Release:        6.1-RELEASE-p10
>Organization:
>Environment:
FreeBSD gauss.sanabria.es 6.1-RELEASE-p10 FreeBSD 6.1-RELEASE-p10 #1: Sat Dec  2 17:30:16 CET 2006     root@gauss.sanabria.es:/export/freebsd/obj/export/freebsd/src/sys/MK2006Dic02  i386
>Description:
New version 1.4.6 of gnupg break the locale support (messages is always displayed in english).

After doing make configure, in securiry/gnupg we get:

$ grep G10_LOCALEDIR work/gnupg-1.4.6/g10defs.h
#define G10_LOCALEDIR     "c:\\lib\\gnupg\\locale"
#define G10_LOCALEDIR     "/locale"

but it should be:

#define G10_LOCALEDIR     "c:\\lib\\gnupg\\locale"
#define G10_LOCALEDIR     "/usr/local/share/locale"


The last reason of this behaviour is that datarootdir variable is missing in the config.status generated file.
>How-To-Repeat:
Do "make configure" and watch the g10defs.h file
>Fix:
Add a file named patch-datarootdir.configure to the files folder, with the following content:

--- configure   Wed Dec  6 10:11:02 2006
+++ configure   Thu Dec  7 20:33:55 2006
@@ -27251,6 +27251,7 @@
 exec_prefix=$exec_prefix
 libdir=$libdir
 libexecdir=$libexecdir
+datarootdir=$datarootdir
 datadir=$datadir
 DATADIRNAME=$DATADIRNAME

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200612072001.kB7K1ZWu043229>