Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 May 2000 23:39:10 +0200 (CEST)
From:      rguyom@321.net
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/18718: adding i10n support to mail/fetchmail
Message-ID:  <20000521213910.6F6C4305@diabolic-cow.mail.dotcom.fr>

index | next in thread | raw e-mail


>Number:         18718
>Category:       ports
>Synopsis:       adding i10n support to mail/fetchmail
>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:   Sun May 21 14:50:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Rémi Guyomarch
>Release:        FreeBSD 4.0-STABLE i386
>Organization:
disorganized
>Environment:
>Description:

	The current fetchmail port doesn't use i10n even if the software can
	use it if properly configured.

>How-To-Repeat:

	build fetchmail

>Fix:

--- Makefile~	Sun May 21 22:29:26 2000
+++ Makefile	Sun May 21 22:49:37 2000
@@ -17,9 +17,11 @@
 
 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-nls --enable-OPIE --enable-RPA --enable-POP2 --enable-SDPS
+CONFIGURE_ENV= CPPFLAGS="-I${PREFIX}/include" LDFLAGS="-L${PREFIX}/lib" \
+               CFLAGS="${CFLAGS} -I${PREFIX}/include -L${PREFIX}/lib"
 MAN1=          fetchmail.1
 MLINKS=                fetchmail.1 fetchmailconf.1
 
--- pkg/PLIST~	Tue Oct 19 23:03:29 1999
+++ pkg/PLIST	Sun May 21 23:23:03 2000
@@ -1,6 +1,12 @@
 bin/fetchmail
 bin/fetchmailconf
 libexec/fetchmailconf.bin
+share/locale/cs/LC_MESSAGES/fetchmail.mo
+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/gl/LC_MESSAGES/fetchmail.mo
 share/doc/fetchmail/COPYING
 share/doc/fetchmail/FAQ
 share/doc/fetchmail/FEATURES
--- patches/patch-ak.none       Sun May 21 23:35:10 2000
+++ patches/patch-ak    Sun May 21 22:48:57 2000
@@ -0,0 +1,11 @@
+--- configure~ Sun May 21 22:44:01 2000
++++ configure  Sun May 21 22:48:18 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
--- patches/patch-al.none       Sun May 21 23:35:12 2000
+++ 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
+ 



>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message



home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000521213910.6F6C4305>