From eb35339eb9b43ba1a98dd2425763d578109e1a6c Mon Sep 17 00:00:00 2001 From: jlam Date: Tue, 22 May 2001 06:54:05 +0000 Subject: Use editline readline emulation when available. --- lang/hugs/Makefile | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) (limited to 'lang') diff --git a/lang/hugs/Makefile b/lang/hugs/Makefile index 76463db5056..da3293ff113 100644 --- a/lang/hugs/Makefile +++ b/lang/hugs/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.14 2001/05/22 06:38:08 jlam Exp $ +# $NetBSD: Makefile,v 1.15 2001/05/22 06:54:05 jlam Exp $ DISTNAME= hugs98-Feb2000 PKGNAME= hugs98-200002 @@ -9,13 +9,23 @@ MAINTAINER= nathanw@mit.edu HOMEPAGE= http://www.haskell.org/hugs/ COMMENT= Nottingham and Yale Haskell interpreter and programming environment -DEPENDS+= readline-*:../../devel/readline - WRKSRC= ${WRKDIR}/hugs98/src/unix GNU_CONFIGURE= # defined CONFIGURE_ARGS+= --with-readline ALL_TARGET= default +# Don't link against ncurses; linking against termcap will do. +CONFIGURE_ENV+= ac_cv_lib_ncurses_main=no + +# Hugs' build doesn't require the readline headers, only the readline library. +# The only function it uses is readline(). +# +.include "../../devel/readline/Makefile.readline" + +LDFLAGS+= -L${WRKLIBDIR} + +pre-configure: link-readline-libs + do-build: @cd ${WRKSRC}/.. && ${SETENV} ${MAKE_ENV} \ ${MAKE_PROGRAM} ${MAKE_FLAGS} -f ${MAKEFILE} ${ALL_TARGET} -- cgit v1.2.3