X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2Fghc.cabal;h=ce0240838eab06786542b2be4c50ac9af4538c1c;hb=5656eb8f9bc7ee43da889da4847856a0f70d9461;hp=88b04d1c30110f3624cc3e9d3d236288b6af68f5;hpb=391a299af4deb7bd593696ee6d53ac8f5c4667e1;p=ghc-hetmet.git diff --git a/compiler/ghc.cabal b/compiler/ghc.cabal index 88b04d1..ce02408 100644 --- a/compiler/ghc.cabal +++ b/compiler/ghc.cabal @@ -3,7 +3,7 @@ Name: ghc Version: 6.9 Copyright: XXX -- License: XXX -License-File: XXX +License-File: ../LICENSE Author: XXX Maintainer: glasgow-haskell-users@haskell.org Homepage: http://www.haskell.org/ghc/ @@ -14,20 +14,31 @@ Category: XXX Build-Type: Simple Cabal-Version: >= 1.2 +Flag base4 + Description: Choose the even newer, even smaller, split-up base package. + Flag base3 Description: Choose the new smaller, split-up base package. Flag dynlibs Description: Dynamic library support + Default: False + Manual: True Flag editline Description: Use editline + Default: False + Manual: True Flag ghci Description: Build GHCi support. + Default: False + Manual: True Flag ncg Description: Build the NCG. + Default: False + Manual: True Flag stage1 Description: Is this stage 1? @@ -35,16 +46,21 @@ Flag stage1 Library Exposed: False + if flag(base4) + Build-Depends: base >= 4 && < 5 if flag(base3) - Build-Depends: base >= 3 && < 5, - directory >= 1 && < 1.1, + Build-Depends: base >= 3 && < 4 + if !flag(base3) && !flag(base4) + Build-Depends: base < 3 + + if flag(base3) || flag(base4) + Build-Depends: directory >= 1 && < 1.1, process >= 1 && < 1.1, bytestring >= 0.9 && < 0.10, old-time >= 1 && < 1.1, containers >= 0.1 && < 0.2, array >= 0.1 && < 0.2 - else - Build-Depends: base < 3 + Build-Depends: filepath >= 1 && < 1.2 Build-Depends: haskell98, Cabal, hpc if os(windows) @@ -73,12 +89,14 @@ Library Extensions: CPP, MagicHash, UnboxedTuples, PatternGuards, ForeignFunctionInterface, EmptyDataDecls, TypeSynonymInstances, MultiParamTypeClasses, - FlexibleInstances, Rank2Types, PatternSignatures + FlexibleInstances, Rank2Types, ScopedTypeVariables Include-Dirs: . parser utils if flag(stage1) Include-Dirs: stage1 + if impl(ghc < 6.9) + Extensions: PatternSignatures else Include-Dirs: stage2plus Install-Includes: HsVersions.h, ghc_boot_platform.h @@ -272,6 +290,7 @@ Library ParsePkgConf PprTyThing StaticFlags + StaticFlagParser SysTools TidyPgm Ctype