Date: Sat, 24 Mar 2001 10:00:04 -0800 (PST) From: Peter Pentchev <roam@orbitel.bg> To: freebsd-ports@FreeBSD.org Subject: Re: ports/26053: fetchmail 5.7.6: translation of messages with `\r' Message-ID: <200103241800.f2OI04P65097@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/26053; it has been noted by GNATS.
From: Peter Pentchev <roam@orbitel.bg>
To: thierry@thomas.as
Cc: Ville Eerola <ve@sci.fi>, FreeBSD-gnats-submit@freebsd.org
Subject: Re: ports/26053: fetchmail 5.7.6: translation of messages with `\r'
Date: Sat, 24 Mar 2001 19:53:09 +0200
On Sat, Mar 24, 2001 at 05:19:45PM +0100, thierry@thomas.as wrote:
>
> >Number: 26053
> >Category: ports
> >Synopsis: make produces error messages
> >Originator: Thierry Thomas
> >Release: FreeBSD 4.2-RELEASE i386
> >Organization:
> Kabbale Eros
> >Environment:
> Here is my locale:
> LANG=fr_FR.ISO_8859-1
>
> >Description:
> make produces this error:
> gmake -C po
> gmake[1]: Entre dans le répertoire `/mntports/ports/mail/fetchmail/work/fetchmail-5.7.6/po'
> PATH=../src:$PATH /usr/local/bin/xgettext --default-domain=fetchmail --directory=.. \
> --add-comments --keyword=_ --keyword=N_ \
> --files-from=./POTFILES.in \
> && test ! -f fetchmail.po \
> || ( rm -f ./fetchmail.pot \
> && mv fetchmail.po ./fetchmail.pot )
> un message à traduire ne doit pas contenir la séquence d'échappement `\r'
> un message à traduire ne doit pas contenir la séquence d'échappement `\r'
> ...
>
> >How-To-Repeat:
> set your $LANG and make
>
> >Fix:
> Some messages in po/fetchmail.pot end with `\r\n'
> => `\n' would suffice?
Does the attached patch to the port solve your problem? It works for me,
although all this time I've dismissed those warnings as just that - warnings,
not serious errors.
Does the port maintainer - Ville Eerola - like this fix? :)
G'luck,
Peter
--
This sentence claims to be an Epimenides paradox, but it is lying.
Index: ports/mail/fetchmail/Makefile
===================================================================
RCS file: /home/ncvs/ports/mail/fetchmail/Makefile,v
retrieving revision 1.121
diff -u -r1.121 Makefile
--- ports/mail/fetchmail/Makefile 2001/03/24 06:37:20 1.121
+++ ports/mail/fetchmail/Makefile 2001/03/24 17:52:23
@@ -64,6 +64,9 @@
@${PERL} -pi.bak -e 's|^#!/.*/python|#!${PREFIX}/bin/python|;' ${WRKSRC}/fetchmailconf
@${SED} -e "s|@PREFIX@|${PREFIX}|" ${FILESDIR}/fetchmailconf > ${WRKDIR}/fetchmailconf
+pre-build:
+ ${PERL} -pi -e 's/\\r//g' ${WRKSRC}/po/*.po* ${WRKSRC}/po/*.c
+
post-install:
.if !defined(NOPORTDOCS)
${INSTALL} -d -m 555 -o ${DOCOWN} -g ${DOCGRP} ${FDOC}
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200103241800.f2OI04P65097>
