diff options
author | jlam <jlam@pkgsrc.org> | 2001-05-22 06:54:05 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2001-05-22 06:54:05 +0000 |
commit | 515c44df5bbbd1edc89c01054ccb6e2d8cd589a9 (patch) | |
tree | a42d718c412cd196df22ee9ab1376e6797e893e3 | |
parent | 641906c66d45ebefc7df659ca49c648aee5136e9 (diff) | |
download | pkgsrc-515c44df5bbbd1edc89c01054ccb6e2d8cd589a9.tar.gz |
Use editline readline emulation when available.
-rw-r--r-- | lang/hugs/Makefile | 16 |
1 files changed, 13 insertions, 3 deletions
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} |