From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Mar 28 02:10:14 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F334516A4CE for ; Sun, 28 Mar 2004 02:10:13 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id E1BCD43D45 for ; Sun, 28 Mar 2004 02:10:13 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i2SAADbv091307 for ; Sun, 28 Mar 2004 02:10:13 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i2SAAD2t091306; Sun, 28 Mar 2004 02:10:13 -0800 (PST) (envelope-from gnats) Resent-Date: Sun, 28 Mar 2004 02:10:13 -0800 (PST) Resent-Message-Id: <200403281010.i2SAAD2t091306@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, katsura@cc.osaka-kyoiku.ac.jp Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4B5FC16A4CE for ; Sun, 28 Mar 2004 02:03:28 -0800 (PST) Received: from filter.osaka-kyoiku.ac.jp (filter.osaka-kyoiku.ac.jp [150.86.1.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0FF5743D1F for ; Sun, 28 Mar 2004 02:03:27 -0800 (PST) (envelope-from katsura@gaia.cc.osaka-kyoiku.ac.jp) Received: from ikoma.cc.osaka-kyoiku.ac.jp (IDENT:root@localhost [127.0.0.1]) i2SA57I11625; Sun, 28 Mar 2004 19:05:07 +0900 Received: from gaia.cc.osaka-kyoiku.ac.jp (gaia.cc.osaka-kyoiku.ac.jp [150.86.33.173])ESMTP id TAA00724; Sun, 28 Mar 2004 19:03:25 +0900 (JST) Received: from gaia.cc.osaka-kyoiku.ac.jp (localhost [127.0.0.1]) i2SA3PUn061887; Sun, 28 Mar 2004 19:03:25 +0900 (JST) (envelope-from katsura@gaia.cc.osaka-kyoiku.ac.jp) Received: (from katsura@localhost)i2SA3PDk061886; Sun, 28 Mar 2004 19:03:25 +0900 (JST) (envelope-from katsura) Message-Id: <200403281003.i2SA3PDk061886@gaia.cc.osaka-kyoiku.ac.jp> Date: Sun, 28 Mar 2004 19:03:25 +0900 (JST) From: Katsura Matsumoto To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 cc: katsura@cc.osaka-kyoiku.ac.jp Subject: ports/64836: Ports: japanese/mutt-devel knob for --disable-nls X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: katsura@cc.osaka-kyoiku.ac.jp List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Mar 2004 10:10:14 -0000 >Number: 64836 >Category: ports >Synopsis: Ports: japanese/mutt-devel knob for --disable-nls >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Mar 28 02:10:13 PST 2004 >Closed-Date: >Last-Modified: >Originator: Katsura Matsumoto >Release: FreeBSD 4.9-RELEASE-p4 i386 >Organization: Osaka Kyoiku Univ. >Environment: System: FreeBSD gaia.cc.osaka-kyoiku.ac.jp 4.9-RELEASE-p4 >Description: I'd like to add a knob WITHOUT_NLS to the ports/japanese/mutt-devel. >How-To-Repeat: N/A >Fix: diff -u -r -N mutt-devel.orig/Makefile mutt-devel/Makefile --- mutt-devel.orig/Makefile Sun Mar 14 15:16:47 2004 +++ mutt-devel/Makefile Sun Mar 28 18:43:15 2004 @@ -26,7 +26,7 @@ LIB_DEPENDS= slang.2:${PORTSDIR}/japanese/libslang \ iconv.3:${PORTSDIR}/converters/libiconv -.if !defined(WITH_GETTEXT) +.if !defined(WITH_GETTEXT) && !defined(WITHOUT_NLS) USE_GETTEXT= yes .else BUILD_DEPENDS= msgfmt:${PORTSDIR}/devel/gettext @@ -60,6 +60,12 @@ --with-docdir=${DOCSDIR} \ --enable-pop --enable-imap \ --enable-default-japanese +.if defined(WITHOUT_NLS) +CONFIGURE_ARGS+= --disable-nls +PLIST_SUB= NLS="@comment " +.else +PLIST_SUB+= NLS="" +.endif .if defined(WITH_GETTEXT) CONFIGURE_ARGS+= --with-included-gettext .endif diff -u -r -N mutt-devel.orig/pkg-plist mutt-devel/pkg-plist --- mutt-devel.orig/pkg-plist Mon Mar 15 20:17:29 2004 +++ mutt-devel/pkg-plist Sun Mar 28 18:44:44 2004 @@ -86,32 +86,32 @@ %%PORTDOCS%%share/doc/mutt/samples/colors.linux %%PORTDOCS%%share/doc/mutt/smime-notes.txt %%PORTDOCS%%share/doc/mutt/smime-notes.ja.txt -share/locale/ca/LC_MESSAGES/mutt.mo -share/locale/cs/LC_MESSAGES/mutt.mo -share/locale/da/LC_MESSAGES/mutt.mo -share/locale/de/LC_MESSAGES/mutt.mo -share/locale/el/LC_MESSAGES/mutt.mo -share/locale/eo/LC_MESSAGES/mutt.mo -share/locale/es/LC_MESSAGES/mutt.mo -share/locale/et/LC_MESSAGES/mutt.mo -share/locale/fr/LC_MESSAGES/mutt.mo -share/locale/gl/LC_MESSAGES/mutt.mo -share/locale/hu/LC_MESSAGES/mutt.mo -share/locale/id/LC_MESSAGES/mutt.mo -share/locale/it/LC_MESSAGES/mutt.mo -share/locale/ja/LC_MESSAGES/mutt.mo -share/locale/ko/LC_MESSAGES/mutt.mo -share/locale/lt/LC_MESSAGES/mutt.mo -share/locale/nl/LC_MESSAGES/mutt.mo -share/locale/pl/LC_MESSAGES/mutt.mo -share/locale/pt_BR/LC_MESSAGES/mutt.mo -share/locale/ru/LC_MESSAGES/mutt.mo -share/locale/sk/LC_MESSAGES/mutt.mo -share/locale/sv/LC_MESSAGES/mutt.mo -share/locale/tr/LC_MESSAGES/mutt.mo -share/locale/uk/LC_MESSAGES/mutt.mo -share/locale/zh_CN/LC_MESSAGES/mutt.mo -share/locale/zh_TW/LC_MESSAGES/mutt.mo +%%NLS%%share/locale/ca/LC_MESSAGES/mutt.mo +%%NLS%%share/locale/cs/LC_MESSAGES/mutt.mo +%%NLS%%share/locale/da/LC_MESSAGES/mutt.mo +%%NLS%%share/locale/de/LC_MESSAGES/mutt.mo +%%NLS%%share/locale/el/LC_MESSAGES/mutt.mo +%%NLS%%share/locale/eo/LC_MESSAGES/mutt.mo +%%NLS%%share/locale/es/LC_MESSAGES/mutt.mo +%%NLS%%share/locale/et/LC_MESSAGES/mutt.mo +%%NLS%%share/locale/fr/LC_MESSAGES/mutt.mo +%%NLS%%share/locale/gl/LC_MESSAGES/mutt.mo +%%NLS%%share/locale/hu/LC_MESSAGES/mutt.mo +%%NLS%%share/locale/id/LC_MESSAGES/mutt.mo +%%NLS%%share/locale/it/LC_MESSAGES/mutt.mo +%%NLS%%share/locale/ja/LC_MESSAGES/mutt.mo +%%NLS%%share/locale/ko/LC_MESSAGES/mutt.mo +%%NLS%%share/locale/lt/LC_MESSAGES/mutt.mo +%%NLS%%share/locale/nl/LC_MESSAGES/mutt.mo +%%NLS%%share/locale/pl/LC_MESSAGES/mutt.mo +%%NLS%%share/locale/pt_BR/LC_MESSAGES/mutt.mo +%%NLS%%share/locale/ru/LC_MESSAGES/mutt.mo +%%NLS%%share/locale/sk/LC_MESSAGES/mutt.mo +%%NLS%%share/locale/sv/LC_MESSAGES/mutt.mo +%%NLS%%share/locale/tr/LC_MESSAGES/mutt.mo +%%NLS%%share/locale/uk/LC_MESSAGES/mutt.mo +%%NLS%%share/locale/zh_CN/LC_MESSAGES/mutt.mo +%%NLS%%share/locale/zh_TW/LC_MESSAGES/mutt.mo %%PORTDOCS%%@dirrm share/doc/mutt/samples/iconv %%PORTDOCS%%@dirrm share/doc/mutt/samples %%PORTDOCS%%@dirrm share/doc/mutt/html >Release-Note: >Audit-Trail: >Unformatted: