NetBSD Problem Report #5126
Received: (qmail 4815 invoked from network); 7 Mar 1998 09:58:11 -0000
Message-Id: <19980307095714.19102.qmail@mailhost.dave.dtsp.co.nz>
Date: 7 Mar 1998 09:57:14 -0000
From: David.Sainty@dtsp.co.nz
To: gnats-bugs@gnats.netbsd.org
Cc: dave@dtsp.co.nz
Subject: ispell package ignores a LANG setting in /etc/mk.conf
X-Send-Pr-Version: 3.95
>Number: 5126
>Category: pkg
>Synopsis: ispell package ignores a LANG setting in /etc/mk.conf
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: gnats-admin
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Mar 07 02:05:01 +0000 1998
>Closed-Date: Thu Apr 16 12:43:04 +0000 1998
>Last-Modified: Thu Apr 16 12:45:48 +0000 1998
>Originator: Dave Sainty
>Release: late februaryish sup of packages
>Organization:
DTSP Ltd
>Environment:
>Description:
The ispell package ignores a LANG setting in mk.conf, which is
annoying if you want to specify "british" as your default language in
the global config.
>How-To-Repeat:
Be born not American
echo "LANG=british" >> /etc/mk.conf
cd /usr/pkgsrc/textproc/ispell
make
fgrep DICT work/ispell-3.1/local.h
#define LANGUAGES "{american,MASTERDICTS=american.med+,HASHFILES=americanmed+.hash,EXTRADICT=/usr/share/dict/words}"
>Fix:
Applying this patch (against Makefile,v 1.4) does the trick, there may be a
cleaner way?
fgrep DICT work/ispell-3.1/local.h
#define LANGUAGES "{british,MASTERDICTS=british.xlg,HASHFILES=britishxlg.hash,EXTRADICT=}"
--- /u3/NetBSD-sup/pkgsrc/textproc/ispell/Makefile Mon Feb 23 01:23:32 1998
+++ Makefile Sat Mar 7 22:26:44 1998
@@ -19,6 +19,8 @@
sq.1 tryaffix.1 unsq.1
MAN4= ispell.4 english.4
+# Export language to configure script
+SCRIPTS_ENV= "LANG=${LANG}"
+
pre-extract pre-build pre-install:
.if !defined(ISPELL_FR)
@echo '******************************************************'
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: frueauf
State-Changed-When: Thu Apr 16 05:43:04 PDT 1998
State-Changed-Why:
Applied suggested fix. Thanks!
>Unformatted:
System: NetBSD tequila.dave.dtsp.co.nz 1.3B NetBSD 1.3B (TEQUILA) #1: Wed Jan 28 20:42:43 NZDT 1998 dave@tequila.dave.dtsp.co.nz:/vol/tequila/userC/NetBSD-current/src/sys/arch/i386/compile/TEQUILA i386
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.