Subject: Re: gettext [was: Re: CVS commit: pkgsrc]
To: None <hubert@feyrer.de>
From: Jun-ichiro itojun Hagino <itojun@iijlab.net>
List: source-changes
Date: 11/02/2000 09:04:07
>> Modified Files:
>> 	pkgsrc/devel/bison: Makefile
>> Log Message:
>> update dependency to gettext.  BUILD_DEPEND on gettext, and have USE_LIBINTL.
>I think you should add a USE_GETTEXT while you're visiting all the places
>that might need it. We'll have to only change code in bsd.pkg.mk when
>citrus gets merged in (assuming it comes with a gettext).

	we are waiting for BSD-licensed gettext(1) and msgfmt(1) from Todd.
	(i planned to bring in GNU gettext userland tools, but Todd said that
	he has compatible one, we are waiting for it)

	I thought about having USE_GETTEXT but it seems unnecessary to me
	now.

	the above change converts the following line:
		DEPENDS+=	gettext->=x.x.xx:../../devel/gettext
	into
		BUILD_DEPENDS+=	msgfmt:../../gettext
		USE_LIBINTL=yes
	the newer one should work just fine even if we see msgfmt(1) from Todd,
	assuming that Todd's implementation provides enough compatibility
	with GNU gettext.  please give your comments.

	btw, we can not do the above change automagically, as some of the
	pkgsrc Makefile require msgfmt and some of them does not.  also it
	should be noted that the older one (one-line DEPENDS) should still
	work fine.  the problem we are seeing now (as Bernd reported) is that
	we had some *_DEPENDS line lacking in some of pkgsrc.

itojun