Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Jan 2004 15:15:39 +0100 (CET)
From:      Udo Schweigert <udo.schweigert@siemens.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/61314: maintainer-update of mail/mutt-devel
Message-ID:  <200401131415.i0DEFdMT075973@alaska.cert.siemens.de>
Resent-Message-ID: <200401131420.i0DEKCfa009672@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         61314
>Category:       ports
>Synopsis:       maintainer-update of mail/mutt-devel
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 13 06:20:12 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Udo Schweigert
>Release:        FreeBSD 4.9-STABLE i386
>Organization:
>Environment:

>Description:

Maintainer update of mail/mutt-devel:

	- Add WITHOUT_NLS knob.

>How-To-Repeat:
>Fix:

diff -ru  /usr/ports/mail/mutt-devel/Makefile ./Makefile
--- /usr/ports/mail/mutt-devel/Makefile	Sat Dec 20 00:13:50 2003
+++ ./Makefile	Tue Jan 13 14:37:12 2004
@@ -175,7 +175,9 @@
 SGML_USED=	no
 .endif
 
+.if !defined(WITHOUT_NLS)
 LIB_DEPENDS=	intl.5:${PORTSDIR}/devel/gettext
+.endif
 
 .if defined(NOPORTDOCS)
 SGML_USED=	no
@@ -216,6 +218,9 @@
 .if defined(WITH_MUTT_CYRUS_SASL)
 CONFIGURE_ARGS+=	--with-sasl=${LOCALBASE}
 .endif
+.if defined(WITHOUT_NLS)
+CONFIGURE_ARGS+=	--disable-nls
+.endif
 
 PATCH_DIST_STRIP=	-p1
 
@@ -291,6 +296,9 @@
 .endif
 .if ! defined(WITHOUT_MUTT_HTML)
 SCRIPTS_ENV+=	MUTT_HTML="yes"
+.endif
+.if !defined(WITHOUT_NLS)
+SCRIPTS_ENV+=	MUTT_NLS="yes"
 .endif
 
 .if !defined(NOPORTDOCS)
diff -ru  /usr/ports/mail/mutt-devel/scripts/generate-plist ./scripts/generate-plist
--- /usr/ports/mail/mutt-devel/scripts/generate-plist	Sat Dec 20 00:13:50 2003
+++ ./scripts/generate-plist	Tue Jan 13 14:37:12 2004
@@ -31,6 +31,10 @@
 @unexec if cmp -s %D/etc/Muttrc.dist %D/etc/Muttrc; then rm -f %D/etc/Muttrc; fi
 etc/Muttrc.dist
 etc/mime.types
+EOF
+
+if [ "$MUTT_NLS" = "yes" ]; then
+  cat >> $tmp_first <<EOF
 share/locale/bg/LC_MESSAGES/mutt.mo
 share/locale/ca/LC_MESSAGES/mutt.mo
 share/locale/cs/LC_MESSAGES/mutt.mo
@@ -59,6 +63,7 @@
 share/locale/zh_CN/LC_MESSAGES/mutt.mo
 share/locale/zh_TW/LC_MESSAGES/mutt.mo
 EOF
+fi
 
 if [ "$MUTT_PORTDOCS" = "yes" ]; then
   cat >> $tmp_first <<EOF
>Release-Note:
>Audit-Trail:
>Unformatted:



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