Subject: pkg/9115: pkgsrc/lang/hugs should use readline
To: None <gnats-bugs@gnats.netbsd.org>
From: None <boquist@crt.se>
List: netbsd-bugs
Date: 01/04/2000 03:02:00
>Number: 9115
>Category: pkg
>Synopsis: Hugs supports readline but the NetBSD package does not use it
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pkg-manager (NetBSD software packages system bug manager)
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Tue Jan 4 03:00:00 2000
>Last-Modified:
>Originator: Urban Boquist
>Organization:
Carlstedt Research & Technology AB, Sweden
>Release: NetBSD-current 2000-01-01
>Environment:
System: NetBSD iller 1.4P NetBSD 1.4P (ILLER) #0: Tue Dec 28 21:27:34 CET 1999 root@iller:/usr/src/sys/arch/i386/compile/ILLER i386
>Description:
The Hugs package has builtin readline support (it just needs a
configure flag to turn it on), and we have readline in pkgsrc, so it
should be used.
>How-To-Repeat:
Build and install the hugs package. Start "hugs" and try to use it for
a while without command line editing. Experience the pain.
>Fix:
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/lang/hugs/Makefile,v
retrieving revision 1.8
diff -u -r1.8 Makefile
--- Makefile 1999/12/18 13:35:54 1.8
+++ Makefile 2000/01/04 10:31:03
@@ -8,8 +8,12 @@
MAINTAINER= nathanw@mit.edu
HOMEPAGE= http://www.haskell.org/hugs/
+DEPENDS+= readline-*:../../devel/readline
+
WRKSRC= ${WRKDIR}/Hugs98/src
GNU_CONFIGURE= yes
+CONFIGURE_ARGS+=--with-readline
+
ALL_TARGET= default
MAKE_ENV= INSTALL="${INSTALL}" INSTALL_DATA="${INSTALL_DATA}" \
INSTALL_PROGRAM="${INSTALL_PROGRAM}"
>Audit-Trail:
>Unformatted: