Subject: pkg/25015: htdig should use -H option to /usr/bin/sort
To: None <gnats-bugs@gnats.netbsd.org>
From: None <joff@stchome.com>
List: pkgsrc-bugs
Date: 04/01/2004 13:24:57
>Number:         25015
>Category:       pkg
>Synopsis:       htdig should use -H option to /usr/bin/sort
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Thu Apr 01 20:26:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        NetBSD 1.6.2_RC4
>Organization:
	STC
>Environment:
System: NetBSD angel 1.6.2_RC4 NetBSD 1.6.2_RC4 (DELL600SC) #13: Tue Jan 13 17:33:29 MST 2004 root@angel:/usr/src/sys/arch/i386/compile/DELL600SC i386
Architecture: i386
Machine: i386
>Description:
	htdig should be told to use the -H option to sort the 
	potentially very large wordlist files it generates.
>How-To-Repeat:
>Fix:
Add the following as a patch file in pkgsrc:


--- htmerge/Makefile.in.orig    Thu Jan 31 16:47:18 2002
+++ htmerge/Makefile.in
@@ -10,7 +10,7 @@ include $(top_builddir)/Makefile.config
 OBJS=          db.o docs.o htmerge.o words.o

  TARGET=                htmerge
  -LOCAL_DEFINES= -DSORT_PROG=\"@SORT@\"
  +LOCAL_DEFINES= -DSORT_PROG="\"@SORT@ -H\""

   all:           $(TARGET)

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