From f8e781055059024ff035a8f054bfbb834b28cb3e Mon Sep 17 00:00:00 2001 From: jlam Date: Thu, 21 Jun 2001 02:42:54 +0000 Subject: Reorder some lines (cosmetic), mark as USE_BUILDLINK_ONLY, and remove unnecessary config.cache entry to prevent detection of ncurses. --- lang/hugs/Makefile | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) (limited to 'lang/hugs') diff --git a/lang/hugs/Makefile b/lang/hugs/Makefile index 00a1018486a..7e94f6a826c 100644 --- a/lang/hugs/Makefile +++ b/lang/hugs/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.18 2001/06/11 02:05:12 jlam Exp $ +# $NetBSD: Makefile,v 1.19 2001/06/21 02:42:54 jlam Exp $ DISTNAME= hugs98-Feb2000 PKGNAME= hugs98-200002 +WRKSRC= ${WRKDIR}/hugs98/src/unix CATEGORIES= lang MASTER_SITES= ftp://www.cse.ogi.edu/pub/pacsoft/hugs/ @@ -9,19 +10,11 @@ MAINTAINER= nathanw@mit.edu HOMEPAGE= http://www.haskell.org/hugs/ COMMENT= Nottingham and Yale Haskell interpreter and programming environment -WRKSRC= ${WRKDIR}/hugs98/src/unix +USE_BUILDLINK_ONLY= # defined 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/buildlink.mk" - do-build: @cd ${WRKSRC}/.. && ${SETENV} ${MAKE_ENV} \ ${MAKE_PROGRAM} ${MAKE_FLAGS} -f ${MAKEFILE} ${ALL_TARGET} @@ -33,4 +26,5 @@ do-install: post-install: ${INSTALL_MAN} ${WRKSRC}/../../docs/hugs.1 ${PREFIX}/man/man1/hugs.1 +.include "../../devel/readline/buildlink.mk" .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3