Pioneers is not able to find its locales with compiled localesdir: $ strings /usr/local/bin/pioneers | grep locale setlocale /usr/local/share/gnome/locale but the directory doesn't exists: $ ls /usr/local/share/gnome/locale ls: /usr/local/share/gnome/locale: No such file or directory it should be /usr/local/share/locale: $ pkg_info -L pioneers-0.10.2 | grep locale /usr/local/share/locale/de/LC_MESSAGES/pioneers.mo /usr/local/share/locale/es/LC_MESSAGES/pioneers.mo /usr/local/share/locale/fr/LC_MESSAGES/pioneers.mo /usr/local/share/locale/hu/LC_MESSAGES/pioneers.mo /usr/local/share/locale/it/LC_MESSAGES/pioneers.mo /usr/local/share/locale/nl/LC_MESSAGES/pioneers.mo /usr/local/share/locale/sv/LC_MESSAGES/pioneers.mo Fix: Add a new patch in the files-directory: patch-configure: (or see attachement) --- configure Wed Mar 21 16:17:28 2007 +++ configure.new Wed Mar 21 16:19:20 2007 @@ -24450,7 +24450,7 @@ pioneers_datadir=$datadir pioneers_themedir=$datadir/games/pioneers/themes pioneers_themedir_embed=$pioneers_themedir - pioneers_localedir=$datadir/locale + pioneers_localedir=/usr/local/share/locale fi Patch attached with submission follows: How-To-Repeat: build pioneers and have a look with 'strings','ls','pkg_info'
Responsible Changed From-To: freebsd-ports-bugs->stefan Take.
The patch doesn't respect a different PREFIX. The prefix is hardcoded to '/usr/local/'. Greetings, Robert
State Changed From-To: open->closed Committed (with a minor correction to respect PREFIX). Thanks for reporting this, I wasn't aware that localization didn't work.
stefan 2007-04-03 08:32:06 UTC FreeBSD ports repository Modified files: games/pioneers Makefile Added files: games/pioneers/files patch-configure Log: Fix path of locale directory so localization is possible. PR: 110624 Submitted by: Steinel Andreas<lnxbil@saarlinux.org> Revision Changes Path 1.43 +1 -0 ports/games/pioneers/Makefile 1.1 +11 -0 ports/games/pioneers/files/patch-configure (new) _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"