Subject: Re: Some problems with gettext after libintl is now in the basesystem
To: None <tech-pkg@netbsd.org>
From: Bernd Ernesti <netbsd@arresum.inka.de>
List: tech-pkg
Date: 11/02/2000 00:07:09
On Thu Nov  2 00:00:01 2000, itojun@iijlab.net wrote:
> 
> 
> >:         for cat in $$catalogs; do \
> >:           case "$$cat" in \
> >:             *.gmo) destdir=$(gnulocaledir);; \
> >:             *)     destdir=$(localedir);; \
> >:           esac; \
> >: What should we do here?
> >"We should have waited instead of rushed until we had a full implementation
> >in basesrc?"  However....
> >: Remove the check for *.gmo and use always destdir=$(gnulocaledir) ?
> >Actually, it would be best if `configure' recognized the in-tree libintl as
> >"GNU" gettext, since it uses the same file format.
> 
> 	the issue here is that configure.in did not find msgfmt(1) and tries to

No, it did find msgfmt.

> 	install *.gmo files (which are actually identical to *.mo format).

Installing *.gmo files would be fine because that would go into the correct
directory.

*.gmo files are always installed as *.mo files.

> 	the easiest way is for those pkgsrc to have the following line:
> 		BUILD_DEPENDS+=	msgfmt:../../devel/gettext
> 	it should solve the issue for now.

That wouldn't fix it.

Bernd