Subject: Re: pkg/36257: games/wesnoth has msgfmt problems (plurals) [NetBSD 3.0]
To: None <,,>
From: Robert Elz <kre@munnari.OZ.AU>
List: pkgsrc-bugs
Date: 05/05/2007 14:25:04
The following reply was made to PR pkg/36257; it has been noted by GNATS.

From: Robert Elz <kre@munnari.OZ.AU>
Subject: Re: pkg/36257: games/wesnoth has msgfmt problems (plurals) [NetBSD 3.0] 
Date: Sat, 05 May 2007 20:18:59 +0700

     Date:        Sat,  5 May 2007 11:25:02 +0000 (UTC)
     From:        "OBATA Akio" <>
     Message-ID:  <>
   |  Pkgsrc already have a wrapper msgfmt tool, handling 'plural' issue.
   |  But this package's configure script judge the wrapper tool is useless,
   |  and use /usr/bin/msgfmt instead, because the wrapper script doesn't allow
   |  /dev/null as input file.
   |  Following patch should fix this problem.
 Thanks for working out what's happening.   I'd actually suggest the
 patch below - I don't think the script really cares what kind of file
 it is dealing with, just whether the name exists or not, or whether it
 needs to ad a ".po" suffix to file the file.  So, I suggest using the
 test operator that checks for existence, rather than building a list of
 all the plausible file types that the input file might be (how about
 symlinks, or named pipes, or ...)
 I have tested the patch below, and it works fine to build games/wesnoth,
 so once either your patch, or mine, is incorporated, this PR can be closed.