Bug 106456 - version 1.4.6 of port security/gnupg break locales
Summary: version 1.4.6 of port security/gnupg break locales
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Jun Kuriyama
Depends on:
Reported: 2006-12-07 20:10 UTC by jjuanino
Modified: 2006-12-08 09:30 UTC (History)
0 users

See Also:

file.diff (241 bytes, patch)
2006-12-07 20:10 UTC, jjuanino
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description jjuanino 2006-12-07 20:10:07 UTC
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.

Fix: Add a file named patch-datarootdir.configure to the files folder, with the following content:
How-To-Repeat: Do "make configure" and watch the g10defs.h file
Comment 1 Edwin Groothuis freebsd_committer 2006-12-07 20:10:23 UTC
Responsible Changed
From-To: freebsd-ports-bugs->kuriyama

Over to maintainer
Comment 2 dfilter service freebsd_committer 2006-12-08 09:25:36 UTC
kuriyama    2006-12-08 09:25:31 UTC

  FreeBSD ports repository

  Modified files:
    security/gnupg       Makefile 
  Added files:
    security/gnupg/files patch-configure 
  - Unbreak locale.
  PR:             ports/106456
  Submitted by:   jjuanino@gmail.com
  Revision  Changes    Path
  1.92      +1 -0      ports/security/gnupg/Makefile
  1.5       +10 -0     ports/security/gnupg/files/patch-configure (new)
cvs-all@freebsd.org mailing list
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Jun Kuriyama freebsd_committer 2006-12-08 09:28:40 UTC
State Changed
From-To: open->closed

Committed, thanks!