Subject: CVS commit: pkgsrc/devel
To: None <pkgsrc-changes@NetBSD.org>
From: Julio M. Merino Vidal <jmmv@netbsd.org>
List: pkgsrc-changes
Date: 04/01/2004 18:33:20
Module Name: pkgsrc
Committed By: jmmv
Date: Thu Apr 1 18:33:20 UTC 2004
Modified Files:
pkgsrc/devel/gettext-lib: buildlink2.mk builtin.mk
Added Files:
pkgsrc/devel/gettext/files: msgfmt.pl
Log Message:
Add a script to workaround uses of msgid_plural, which is not yet supported
by our native libintl. While it is not implemented, this allows us to build
programs against the native libintl, loosing very few functionality (some
translations of plural messages on few languages), and avoiding runtime
conflicts between native libintl and the gnu one (coming from the gettext
package).
Packages including .po files with uses of msgid_plural should define the
USE_MSGFMT_PLURALS variable to 'yes', so that the msgfmt wrapper is used.
(Do not use it when not really needed, as it will pull in perl5 as a build
dependancy).
To generate a diff of this commit:
cvs rdiff -r1.31 -r1.32 pkgsrc/devel/gettext-lib/buildlink2.mk
cvs rdiff -r1.4 -r1.5 pkgsrc/devel/gettext-lib/builtin.mk
cvs rdiff -r0 -r1.1 pkgsrc/devel/gettext/files/msgfmt.pl
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.