40 lines
992 B
Makefile
40 lines
992 B
Makefile
# $NetBSD: Makefile,v 1.40 2010/09/28 04:36:41 obache Exp $
|
|
|
|
DISTNAME= hugs98-Sep2006
|
|
PKGNAME= hugs98-200609
|
|
PKGREVISION= 1
|
|
CATEGORIES= lang
|
|
MASTER_SITES= http://cvs.haskell.org/Hugs/downloads/2006-09/
|
|
|
|
MAINTAINER= nathanw@mit.edu
|
|
HOMEPAGE= http://www.haskell.org/hugs/
|
|
COMMENT= Functional programming system based on Haskell 98
|
|
LICENSE= modified-bsd
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_TOOLS+= gmake bison
|
|
|
|
CONFIGURE_ARGS+= --build=${MACHINE_GNU_PLATFORM:Q}
|
|
CONFIGURE_ARGS+= --target=${MACHINE_GNU_PLATFORM:Q}
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.hugs
|
|
PKG_SUGGESTED_OPTIONS= readline
|
|
PKG_SUPPORTED_OPTIONS= readline
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
.if !empty(PKG_OPTIONS:Mreadline)
|
|
. include "../../devel/readline/buildlink3.mk"
|
|
.else
|
|
CONFIGURE_ARGS+= ac_cv_lib_readline_readline=no
|
|
.endif
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|
|
|
|
# The default -O2 breaks the interpreter producing strange internal errors
|
|
# at run time.
|
|
.if !empty(CC_VERSION:Mgcc-4*)
|
|
CFLAGS+= -O0
|
|
.endif
|