X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=utils%2Fghc-pkg%2Fghc-pkg.cabal;h=0ab35341794f61594b2e5d1f462a96602f9b56a2;hb=b4e88b1999b29c14668df90564fc0d3c89d94120;hp=90722a62f7e474649d87d895c94a8dfd9cda6d94;hpb=eed437cdefb952e6c70e58012b23d436e74710af;p=ghc-hetmet.git diff --git a/utils/ghc-pkg/ghc-pkg.cabal b/utils/ghc-pkg/ghc-pkg.cabal index 90722a6..0ab3534 100644 --- a/utils/ghc-pkg/ghc-pkg.cabal +++ b/utils/ghc-pkg/ghc-pkg.cabal @@ -13,20 +13,34 @@ Category: Development 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. Executable ghc-pkg Main-Is: Main.hs Extensions: CPP, ForeignFunctionInterface + + if flag(base4) + Build-Depends: base >= 4 && < 5 if flag(base3) - Build-Depends: base >= 3 && < 4, - 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, + getopt >= 0.1 && < 0.2 + + if flag(base3) || flag(base4) + Build-Depends: directory >= 1 && < 1.1, process >= 1 && < 1.1, pretty >= 1 && < 1.1 - else - Build-Depends: base < 3 + Build-Depends: haskell98, filepath, Cabal if !os(windows) Build-Depends: unix - + if os(windows) + c-sources: CRT_noglob.c