Subject: pkg/10018: editors/nvi-m17n installs bogus scripts with USE_CANNA=no
To: None <gnats-bugs@gnats.netbsd.org>
From: IWAMOTO Toshihiro <iwamoto@sat.t.u-tokyo.ac.jp>
List: netbsd-bugs
Date: 04/30/2000 05:16:10
>Number:         10018
>Category:       pkg
>Synopsis:       editors/nvi-m17n installs bogus scripts with USE_CANNA=no
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Apr 30 05:17:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     IWAMOTO Toshihiro
>Release:        today's -current
>Organization:
	Univ. of Tokyo
>Environment:
	
System: NetBSD yomogi.sat.t.u-tokyo.ac.jp 1.4X NetBSD 1.4X (YOMOGI) #13: Thu Apr 20 19:16:52 JST 2000 iwamoto@yomogi.sat.t.u-tokyo.ac.jp:/usr/src/syssrc/sys/arch/i386/compile/YOMOGI i386


>Description:
	nvi-m17n installs several nvi-<fontencoding> scripts.
	These scripts have canna related variable initialization hook
	even if compiled without canna support, resulting in the following
	warning message:

yomogi:/usr/pkgsrc/editors/nvi-m17n$ nvi-iso-2022-jp
EXINIT, 1: set: the canna option may never be turned on
EXINIT, 1: set: the cannactrl option may never be turned on

>How-To-Repeat:
	$ cd /usr/pkgsrc/editors/nvi-m17n
	$ make USE_CANNA=no && make USE_CANNA=no install
>Fix:
	Do not set CANNA_OPT.* in Makefile when USE_CANNA is set to "no".
>Release-Note:
>Audit-Trail:
>Unformatted: