pkgsrc/lang/ghc80/buildlink3.mk
pho 4b3aed4acc Import GHC 8.0.2
GHC: The Glasgow Haskell Compiler.

The Glasgow Haskell Compiler is a robust, fully-featured, optimising
compiler for the functional programming language Haskell 98
(http://www.haskell.org). GHC compiles Haskell to either native code
or C. It implements numerous experimental language extensions to
Haskell, including concurrency, a foreign language interface, several
type-system extensions, exceptions, and so on. GHC comes with a
generational garbage collector, a space and time profiler, and a
comprehensive set of libraries.

This package provides the 8.0.x release series, which is the last
version that can bootstrap with 7.10.3. It will probably be removed
once we make a separate package for GHC 8.4.x and get enough bootstrap
kits for it.
2020-01-03 15:24:08 +00:00

24 lines
648 B
Makefile

# $NetBSD: buildlink3.mk,v 1.1 2020/01/03 15:24:08 pho Exp $
BUILDLINK_TREE+= ghc
.if !defined(GHC_BUILDLINK3_MK)
GHC_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.ghc+= ghc>=8.0.2
BUILDLINK_ABI_DEPENDS.ghc+= ghc>=8.0.2
BUILDLINK_PKGSRCDIR.ghc?= ../../lang/ghc80
# On FreeBSD we need pkgsrc libiconv. See bootstrap.mk for details.
.include "../../mk/bsd.fast.prefs.mk"
.if ${OPSYS} == "FreeBSD"
USE_BUILTIN.iconv= no
.endif
.include "../../converters/libiconv/buildlink3.mk"
.include "../../devel/libffi/buildlink3.mk"
.include "../../devel/gmp/buildlink3.mk"
.include "../../mk/curses.buildlink3.mk"
.endif # GHC_BUILDLINK3_MK
BUILDLINK_TREE+= -ghc