Subject: CVS commit: pkgsrc/devel
To: None <pkgsrc-changes@NetBSD.org>
From: Julio M. Merino Vidal <jmmv@netbsd.org>
List: pkgsrc-changes
Date: 08/20/2005 12:04:09
Module Name:	pkgsrc
Committed By:	jmmv
Date:		Sat Aug 20 12:04:09 UTC 2005

Modified Files:
	pkgsrc/devel/gettext-lib: builtin.mk
	pkgsrc/devel/gettext/files: msgfmt.pl

Log Message:
Fix the msgfmt.pl script to deal with messages with plurals whose strings
are identical (e.g., msgid == msgid_plural) by ignoring the duplicates.
In fact, this is a rewrite of the script, since I couldn't understand the
old one (ew).

Also change the way we use it to only pull it in the build if the real
msgfmt does not support plurals (i.e., it's older than 0.10.36).

Fixes PR pkg/30596 and PR pkg/30938 (both related to epiphany).
It also fixes the build of evolution-data-server and probably others.


To generate a diff of this commit:
cvs rdiff -r1.26 -r1.27 pkgsrc/devel/gettext-lib/builtin.mk
cvs rdiff -r1.1 -r1.2 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.