summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2001-06-21 02:42:54 +0000
committerjlam <jlam@pkgsrc.org>2001-06-21 02:42:54 +0000
commitf8e781055059024ff035a8f054bfbb834b28cb3e (patch)
tree7d0e0d6af16fd89f4d935238a575c0166b4704a0 /lang
parent7e5da91cd48feaed5965c752a4236a7f827a2965 (diff)
downloadpkgsrc-f8e781055059024ff035a8f054bfbb834b28cb3e.tar.gz
Reorder some lines (cosmetic), mark as USE_BUILDLINK_ONLY, and remove
unnecessary config.cache entry to prevent detection of ncurses.
Diffstat (limited to 'lang')
-rw-r--r--lang/hugs/Makefile14
1 files changed, 4 insertions, 10 deletions
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"