pkgsrc/lang/ghc/buildlink3.mk
kristerw 40df28eb7b Update ghc to 6.8.3. Thanks to Donn Cave for bugfix patches.
Changes in 6.8.3:
* The arguments to ghc-pkg now understand lists and wildcards, and
  there is a new command ghc-pkg find-module.

* The filename completion in ghci is now more intelligent.

* We now look for GHCi config files in these locations:
    ./.ghci
    $HOME/.ghc/ghci.conf
    $HOME/.ghci

* You can now give multiple -e options to GHC.

* You can now use the -prof and -threaded flags together, although
  you cannot also use +RTS -N2.

* SCC names are no longer allowed to contain spaces, as some of the
  profiling tools break if they do.

* Various changes have been made to GHC's internals, so there are some
  differences in the API exposed by the ghc package. Most notably,
  checkAndLoadModule has now been implemented.
2008-07-20 00:26:52 +00:00

31 lines
962 B
Makefile

# $NetBSD: buildlink3.mk,v 1.10 2008/07/20 00:26:52 kristerw Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GHC_BUILDLINK3_MK:= ${GHC_BUILDLINK3_MK}+
.if !empty(BUILDLINK_DEPTH:M+)
BUILDLINK_DEPENDS+= ghc
.endif
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nghc}
BUILDLINK_PACKAGES+= ghc
BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}ghc
.if !empty(GHC_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.ghc+= ghc>=6.8.3
BUILDLINK_ABI_DEPENDS.ghc?= ghc>=6.8.3
BUILDLINK_PKGSRCDIR.ghc?= ../../lang/ghc
BUILDLINK_DEPMETHOD.ghc?= build
.endif # GHC_BUILDLINK3_MK
.include "../../devel/readline/buildlink3.mk"
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
# We include gmp/buildlink3.mk here so that "gmp" is registered as a
# direct dependency for any package that includes this buildlink3.mk
# to get ghc as a build dependency. This is needed since software
# built by ghc requires routines from the "gmp" shared library.
#
.include "../../devel/gmp/buildlink3.mk"