pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/36257: games/wesnoth has msgfmt problems (plurals) [NetBSD 3.0]



The following reply was made to PR pkg/36257; it has been noted by GNATS.

From: Robert Elz <kre%munnari.OZ.AU@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
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" <obache%NetBSD.org@localhost>
     Message-ID:  <20070505112502.84D3F63B853%narn.NetBSD.org@localhost>
 
   |  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.
 
 kre
 



Home | Main Index | Thread Index | Old Index