tech-pkg archive

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

Re: how to require newer msgfmt?



On Mon, Mar 12, 2018 at 08:10:05PM +0100, Roland Illig wrote:
> Am 12.03.2018 um 18:09 schrieb Thomas Klausner:
> > USE_TOOLS supports msgfmt. However, I don't see how I can request a
> > particular version of it. In particular, wip/gnucash-git needs
> > gettext-tools-0.19.6 for '--desktop' support in msgfmt.
> 
> What about a simple TOOL_DEPENDS+= or even BUILD_DEPENDS+=? And then
> check whether everything looks good with "bmake show-all-tools | grep
> msgfmt".
> 
> Since many of the tools come from the base system, it wouldn't make
> sense to add versioning support to the whole tools framework. Therefore
> the simple dependency outlined above makes most sense to me.

Sure, that works. But it installs the package even if it's not needed
because the base system has a version that's good enough.

msgfmt is already version-checked in mk/tools/gettext.mk, but I don't
see a way to specify a lower bound.
 Thomas


Home | Main Index | Thread Index | Old Index