1 # $NetBSD: Makefile,v 1.40 2010/09/28 04:36:41 obache Exp $
3 DISTNAME
= hugs98-Sep2006
7 MASTER_SITES
= http
://cvs.haskell.org
/Hugs
/downloads
/2006-09/
9 MAINTAINER
= nathanw@mit.edu
10 HOMEPAGE
= http
://www.haskell.org
/hugs
/
11 COMMENT
= Functional programming system based on Haskell
98
15 USE_TOOLS
+= gmake bison
17 CONFIGURE_ARGS
+= --build
=${MACHINE_GNU_PLATFORM
:Q
}
18 CONFIGURE_ARGS
+= --target
=${MACHINE_GNU_PLATFORM
:Q
}
20 PKG_OPTIONS_VAR
= PKG_OPTIONS.hugs
21 PKG_SUGGESTED_OPTIONS
= readline
22 PKG_SUPPORTED_OPTIONS
= readline
24 .
include "../../mk/bsd.options.mk"
26 .if
!empty
(PKG_OPTIONS
:Mreadline
)
27 .
include "../../devel/readline/buildlink3.mk"
29 CONFIGURE_ARGS
+= ac_cv_lib_readline_readline
=no
32 .
include "../../mk/bsd.pkg.mk"
34 # The default -O2 breaks the interpreter producing strange internal errors
36 .if
!empty
(CC_VERSION
:Mgcc-4
*)