From owner-freebsd-ports Sat Mar 24 10: 0:11 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 4762137B719 for ; Sat, 24 Mar 2001 10:00:04 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f2OI04P65097; Sat, 24 Mar 2001 10:00:04 -0800 (PST) (envelope-from gnats) Date: Sat, 24 Mar 2001 10:00:04 -0800 (PST) Message-Id: <200103241800.f2OI04P65097@freefall.freebsd.org> To: freebsd-ports@FreeBSD.org Cc: From: Peter Pentchev Subject: Re: ports/26053: fetchmail 5.7.6: translation of messages with `\r' Reply-To: Peter Pentchev Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR ports/26053; it has been noted by GNATS. From: Peter Pentchev To: thierry@thomas.as Cc: Ville Eerola , 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