ports/106456: version 1.4.6 of port security/gnupg break locales

José G. Juanino jjuanino at gmail.com
Thu Dec 7 20:10:14 UTC 2006


>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 at 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:



More information about the freebsd-ports-bugs mailing list