Subject: Re: how to handle xgettext --language=perl ?
To: None <pkgsrc-users@netbsd.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: pkgsrc-users
Date: 01/02/2007 17:09:09
> On NetBSD -current:
>
> $ xgettext --language=perl
> xgettext: no input file given
> Try `xgettext --help' for more information.
>
> On NetBSD 3.0.1:
>
> > xgettext --language=perl
> language `perl' unknown
>
> What is the correct way to handle this with pkgsrc?
>
> My error on 3.0.1 is:
>
> xgettext ... -Lperl
> language `perl' unknown
>
> The package I am working on (updated ikiwiki) is using:
>
> DEPENDS+= p5-Locale-libintl-[0-9]*:../../misc/p5-Locale-libintl
> DEPENDS+= p5-gettext-[0-9]*:../../devel/p5-gettext
> USE_TOOLS+= xgettext
>
> Should I force this ikiwiki to use gettext-tools? What is the correct way?
For now, I just did:
ln -sf /usr/pkg/bin/xgettext work/.tools/bin/xgettext
How do I tell USE_TOOLS to use pkgsrc version?
(I don't know anything about "xgettext --language=perl".)