X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=utils%2Fghc-pkg%2Fghc-pkg.cabal;h=6be5ce6bd9831757dbbf00cc72a2a618e806f9ec;hb=eb39f720c731b10b340ebadc809d91f9683ea157;hp=0ab35341794f61594b2e5d1f462a96602f9b56a2;hpb=60b50498ce499e879cd7d72f5386c1c633c692ff;p=ghc-hetmet.git diff --git a/utils/ghc-pkg/ghc-pkg.cabal b/utils/ghc-pkg/ghc-pkg.cabal index 0ab3534..6be5ce6 100644 --- a/utils/ghc-pkg/ghc-pkg.cabal +++ b/utils/ghc-pkg/ghc-pkg.cabal @@ -21,6 +21,7 @@ Flag base3 Executable ghc-pkg Main-Is: Main.hs + Other-Modules: Version Extensions: CPP, ForeignFunctionInterface if flag(base4) @@ -30,17 +31,21 @@ Executable ghc-pkg 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 + process >= 1 && < 1.1 + + if impl(ghc < 6.9) + Build-Depends: extensible-exceptions - Build-Depends: haskell98, filepath, Cabal + Build-Depends: haskell98, + filepath, + Cabal, + binary, + bin-package-db, + bytestring if !os(windows) - Build-Depends: unix + Build-Depends: unix, + terminfo if os(windows) c-sources: CRT_noglob.c