Subject: pkg/31816: graphics/eog2 needs plural support.
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <lems@gmx.net>
List: pkgsrc-bugs
Date: 10/15/2005 07:53:01
>Number:         31816
>Category:       pkg
>Synopsis:       graphics/eog2 needs plural support.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sat Oct 15 07:53:01 +0000 2005
>Originator:     Leonard Schmidt
>Release:        2.1_RC5
>Organization:
>Environment:
NetBSD kafka 2.1_RC5 NetBSD 2.1_RC5 (GOLDMUND) #0: Thu Oct 13 13:11:11 GMT 2005  lems@kafka:/usr/src/sys/arch/i386/compile/GOLDMUND i386
>Description:
This package breaks without USE_MSGFMT_PLURALS.

Making all in po
gmake[2]: Entering directory `/usr/pkgsrc/graphics/eog2/work/eog-2.12.1/po'
file=`echo af | sed 's,.*/,,'`.gmo \
  && rm -f $file && /usr/bin/msgfmt -o $file af.po
af.po:517: keyword "msgid_plural" unknown
af.po:516: missing `msgstr' section
af.po:517: parse error
af.po:701: keyword "msgid_plural" unknown
af.po:700: missing `msgstr' section
af.po:701: parse error
found 6 fatal errors
gmake[2]: *** [af.gmo] Error 1
gmake[2]: Leaving directory `/usr/pkgsrc/graphics/eog2/work/eog-2.12.1/po'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/pkgsrc/graphics/eog2/work/eog-2.12.1'
gmake: *** [all] Error 2
*** Error code 2

>How-To-Repeat:

>Fix:
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/graphics/eog2/Makefile,v
retrieving revision 1.46
diff -u -b -r1.46 Makefile
--- Makefile	14 Oct 2005 21:52:14 -0000	1.46
+++ Makefile	15 Oct 2005 07:51:08 -0000
@@ -13,6 +13,7 @@
 BUILD_USES_MSGFMT=	YES
 
 GNU_CONFIGURE=		YES
+USE_MSGFMT_PLURALS=	YES
 USE_TOOLS+=		gmake pkg-config
 USE_DIRS+=		gnome2-1.5
 USE_PKGLOCALEDIR=	YES