X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2Fghc.cabal;h=3c490196caa0c55cea06a8ab36001d185a999443;hb=0da51cdd6404332ba6531364e6b7de30cbc0333a;hp=88b04d1c30110f3624cc3e9d3d236288b6af68f5;hpb=391a299af4deb7bd593696ee6d53ac8f5c4667e1;p=ghc-hetmet.git diff --git a/compiler/ghc.cabal b/compiler/ghc.cabal index 88b04d1..3c49019 100644 --- a/compiler/ghc.cabal +++ b/compiler/ghc.cabal @@ -14,6 +14,9 @@ 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. @@ -35,16 +38,25 @@ 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(base4) + Build-Depends: concurrent >= 0.1 && < 0.2, + st >= 0.1 && < 0.2 + + 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,7 +85,7 @@ Library Extensions: CPP, MagicHash, UnboxedTuples, PatternGuards, ForeignFunctionInterface, EmptyDataDecls, TypeSynonymInstances, MultiParamTypeClasses, - FlexibleInstances, Rank2Types, PatternSignatures + FlexibleInstances, Rank2Types, ScopedTypeVariables Include-Dirs: . parser utils @@ -272,6 +284,7 @@ Library ParsePkgConf PprTyThing StaticFlags + StaticFlagParser SysTools TidyPgm Ctype