Subject: pkg/12230: ispell problem
To: None <gnats-bugs@gnats.netbsd.org>
From: Mark White <mark.white@st-edmund-hall.oxford.ac.uk>
List: netbsd-bugs
Date: 02/16/2001 16:26:39
>Number:         12230
>Category:       pkg
>Synopsis:       ispell: make british results in a slightly incorrect PLIST
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Feb 16 08:25:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Mark White <mark.white@seh.ox.ac.uk>
>Release:        NetBSD and pkgsrc -current at about 10-Feb-2001
>Organization:
      n/a
>Environment:
  AMD K6-2/550 with 128 Mb RAM
System: NetBSD lorien 1.5R NetBSD 1.5R (LORIEN) #0: Wed Feb 7 18:29:27 GMT 2001 mark@lorien:/m/1f/current/src/sys/arch/i386/compile/LORIEN i386
Architecture: i386
Machine: i386
>Description:

  Building british ispell package with "make british" works fine, but
  subsequent "make install" produces slightly incorrect registration,
  as the hashes are now called lib/british* not lib/american*.  Thus,
  pkg_add and pkg_delete complain, and the british hashes are not
  removed when the pkg_delete is run.

  Note that ispell does not build correctly under -current due to a
  bug in the new sort; I build it using the 1-5-RELEASE version of
  sort.

>How-To-Repeat:
  
  cd /usr/pkgsrc/textproc/ispell
  make british
  make install

>Fix:

  The PLIST can be fixed for a british-only install easily enough
  (patch below), but of course that breaks it for americans, instead.
  It would be better to move to dynamic PLIST, I suppose.

Index: PLIST
===================================================================
RCS file: /cvsroot/pkgsrc/textproc/ispell/pkg/PLIST,v
retrieving revision 1.6
diff -u -r1.6 PLIST
--- PLIST	2000/01/02 03:50:05	1.6
+++ PLIST	2001/02/16 16:14:08
@@ -11,8 +11,8 @@
 @unexec install-info --delete %D/info/ispell.info %D/info/dir
 info/ispell.info
 @exec install-info %D/info/ispell.info %D/info/dir
-lib/american.hash
-lib/americanmed+.hash
+lib/british.hash
+lib/britishxlg.hash
 lib/english.aff
 lib/english.hash
 man/man1/buildhash.1.gz

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