In ghc-pkg, send warnings to stderr
[ghc-hetmet.git] / utils / ghc-pkg / ghc-pkg.cabal
index 1e862a7..0b8bb37 100644 (file)
@@ -30,15 +30,15 @@ Executable ghc-pkg
     if !flag(base3) && !flag(base4)
         Build-Depends: base       < 3
 
-    if flag(base4)
-        Build-Depends: getopt     >= 0.1 && < 0.2
-
     if flag(base3) || flag(base4)
         Build-Depends: directory  >= 1   && < 1.1,
                        process    >= 1   && < 1.1,
                        pretty     >= 1   && < 1.1
 
-    Build-Depends: haskell98, filepath, Cabal
+    if impl(ghc < 6.9)
+        Build-Depends: extensible-exceptions
+
+    Build-Depends: haskell98, filepath, Cabal, bin-package-db
     if !os(windows)
         Build-Depends: unix
     if os(windows)