Date: Sat, 27 May 2000 13:42:32 +0200 (CEST) From: rguyom@321.net To: FreeBSD-gnats-submit@freebsd.org Subject: ports/18840: mail/fetchmail: i18n patch Message-ID: <20000527114232.D56B81CB@diabolic-cow.mail.dotcom.fr>
next in thread | raw e-mail | index | archive | help
>Number: 18840 >Category: ports >Synopsis: mail/fetchmail: i18n patch >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat May 27 06:00:01 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Rémi Guyomarch >Release: FreeBSD 4.0-STABLE i386 >Organization: disorganized >Environment: 4.0-STABLE updated May 24 >Description: This is a patch to enable internationalization in fetchmail >How-To-Repeat: Build the port >Fix: diff -urN /usr/ports/mail/fetchmail/Makefile fetchmail/Makefile --- /usr/ports/mail/fetchmail/Makefile Sun May 14 20:50:16 2000 +++ fetchmail/Makefile Sat May 27 12:49:00 2000 @@ -17,9 +17,13 @@ MAINTAINER= ve@sci.fi +LIB_DEPENDS= intl.1:${PORTSDIR}/devel/gettext GNU_CONFIGURE= yes -CONFIGURE_ARGS= --enable-OPIE --enable-RPA --enable-POP2 --enable-SDPS -CONFIGURE_ENV= LDFLAGS="${CFLAGS}" +CONFIGURE_ARGS= --enable-OPIE --enable-RPA --enable-POP2 --enable-SDPS \ + --enable-nls +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" \ + CFLAGS="-I${LOCALBASE}/include ${CFLAGS}" MAN1= fetchmail.1 MLINKS= fetchmail.1 fetchmailconf.1 diff -urN /usr/ports/mail/fetchmail/patches/patch-al fetchmail/patches/patch-al --- /usr/ports/mail/fetchmail/patches/patch-al Thu Jan 1 01:00:00 1970 +++ fetchmail/patches/patch-al Sun May 21 23:18:22 2000 @@ -0,0 +1,13 @@ +--- po/Makefile.in.in~ Mon Nov 23 06:42:00 1998 ++++ po/Makefile.in.in Sun May 21 23:17:50 2000 +@@ -19,8 +19,8 @@ + prefix = @prefix@ + exec_prefix = @exec_prefix@ + datadir = $(prefix)/@DATADIRNAME@ +-localedir = $(datadir)/locale +-gnulocaledir = $(prefix)/share/locale ++localedir = $(prefix)/share/locale ++gnulocaledir = ${localedir} + gettextsrcdir = $(prefix)/share/gettext/po + subdir = po + diff -urN /usr/ports/mail/fetchmail/patches/patch-am fetchmail/patches/patch-am --- /usr/ports/mail/fetchmail/patches/patch-am Thu Jan 1 01:00:00 1970 +++ fetchmail/patches/patch-am Sat May 27 12:45:56 2000 @@ -0,0 +1,11 @@ +--- configure~ Sat May 27 12:41:32 2000 ++++ configure Sat May 27 12:45:12 2000 +@@ -5010,7 +5010,7 @@ + if test "$USE_NLS" = "yes" + then + echo 'Enabling internationalization support...' +- POMAKE='$(MAKE) -C po' ++ POMAKE='cd po ; $(MAKE)' + if test "x$prefix" != xNONE; then + EXTRADEFS="$EXTRADEFS -DLOCALEDIR='\"$prefix/share/locale\"'" + else diff -urN /usr/ports/mail/fetchmail/pkg/PLIST fetchmail/pkg/PLIST --- /usr/ports/mail/fetchmail/pkg/PLIST Mon Jun 14 04:18:52 1999 +++ fetchmail/pkg/PLIST Sat May 27 13:17:42 2000 @@ -1,6 +1,12 @@ bin/fetchmail bin/fetchmailconf libexec/fetchmailconf.bin +share/locale/es/LC_MESSAGES/fetchmail.mo +share/locale/fr/LC_MESSAGES/fetchmail.mo +share/locale/pl/LC_MESSAGES/fetchmail.mo +share/locale/pt_BR/LC_MESSAGES/fetchmail.mo +share/locale/cs/LC_MESSAGES/fetchmail.mo +share/locale/gl/LC_MESSAGES/fetchmail.mo share/doc/fetchmail/COPYING share/doc/fetchmail/FAQ share/doc/fetchmail/FEATURES @@ -11,3 +17,6 @@ share/doc/fetchmail/fetchmail-features.html share/doc/fetchmail/sample.rcfile @dirrm share/doc/fetchmail +@unexec rmdir %D/share/locale/*/LC_MESSAGES 2>/dev/null || true +@unexec rmdir %D/share/locale/* 2>/dev/null || true +@unexec rmdir %D/share/locale 2>/dev/null || true >Release-Note: >Audit-Trail: >Unformatted: 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?20000527114232.D56B81CB>