# Note: you need GHC already installed in order to build this package. # (I bootstrapped it using the Debian packaged version.) GARNAME = ghc GARVERSION = 7.2.1 # When changing version, update depend.mk. CATEGORIES = haskell MASTER_SITES = http://www.haskell.org/ghc/dist/$(GARVERSION)/ DISTFILES = $(DISTNAME)-src.tar.bz2 LIBDEPS = sys/libxml2 sys/libxslt math/gmp devel/binutils sys/elfutils BUILDDEPS = perl/perl python/python text/docbook-xml text/docbook-xsl # We can't list these dependencies because they need (or are!) this package. # BUILDDEPS += haskell/ghc haskell/happy haskell/alex haskell/hscolour DESCRIPTION = The Glasgow Haskell Compiler HOME_URL = http://www.haskell.org/ghc/ POST_INSTALL_SCRIPTS = hook-50ghc.post-install # Some source files are in UTF-8, and hscolour will complain if it's run in the # C locale. (Presumably it will give wrong results if it's run in a non-UTF8 # locale...) LANG = en_GB.utf8 USE_TESTS = include ../../gar.lib/auto.mk