pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/32647: fonts/fontforge needs plural support in gettext



>Number:         32647
>Category:       pkg
>Synopsis:       fonts/fontforge needs plural support in gettext
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Fri Jan 27 05:25:00 +0000 2006
>Originator:     OBATA Akio
>Release:        NetBSD 3.0.0_STABLE
>Organization:
        LINS, Japan.
>Environment:
System: NetBSD miki.lins.jp 3.0.0_STABLE NetBSD 3.0.0_STABLE (MIKI) #8: Wed Jan 
11 02:28:09 JST 2006 root@:/usr/src/sys/arch/i386/compile/MIKI i386
Architecture: i386
Machine: i386
>Description:
        fonts/fontforge needs plural support in gettext,
        so build will be failed on all platform using old gettext. 
>How-To-Repeat:
        cd /usr/pkgsrc/fonrs/fontforge & make on platform with gettext<0.10.36.

gmake[1]: Entering directory 
`/pkg_comp/obj/pkgsrc/fonts/fontforge/default/fontforge-20060114/po'
msgfmt -o es.mo es.po
msgfmt -o fr.mo fr.po
fr.po:15361: keyword "msgid_plural" unknown
fr.po:15360: missing `msgstr' section
fr.po:15361: parse error
fr.po:15368: keyword "msgid_plural" unknown
fr.po:15367: missing `msgstr' section
fr.po:15368: parse error
fr.po:15375: keyword "msgid_plural" unknown
fr.po:15374: missing `msgstr' section
fr.po:15375: parse error
found 9 fatal errors
gmake[1]: *** [fr.mo] Error 1
gmake[1]: Leaving directory 
`/pkg_comp/obj/pkgsrc/fonts/fontforge/default/fontforge-20060114/po'
gmake: *** [pos] Error 2
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/fonts/fontforge

>Fix:
        Here is a patch to fix.

Index: Makefile
===================================================================
RCS file: /home/cvsroot/NetBSD/pkgsrc/fonts/fontforge/Makefile,v
retrieving revision 1.17
diff -u -r1.17 Makefile
--- Makefile    20 Jan 2006 12:11:21 -0000      1.17
+++ Makefile    27 Jan 2006 04:08:54 -0000
@@ -15,11 +15,14 @@
 USE_PKGLOCALEDIR=      yes
 USE_LIBTOOL=           yes
 USE_TOOLS+=            gmake
+BUILD_USES_MSGFMT=     yes
+USE_MSGFMT_PLURALS=    yes
 GNU_CONFIGURE=         yes
 CONFIGURE_ARGS+=       --without-freetype-src
 WRKSRC=                        ${WRKDIR}/${PKGNAME_NOREV}
 
 .include "../../converters/libiconv/buildlink3.mk"
+.include "../../devel/gettext-lib/buildlink3.mk"
 .include "../../graphics/freetype2/buildlink3.mk"
 .include "../../graphics/jpeg/buildlink3.mk"
 .include "../../graphics/libungif/buildlink3.mk"




Home | Main Index | Thread Index | Old Index