Remove ghc-pkg's dependency on haskell98
[ghc-hetmet.git] / utils / ghc-pkg / ghc-pkg.cabal
index 03d475f..3870249 100644 (file)
@@ -13,20 +13,21 @@ Category: Development
 build-type: Simple
 cabal-version: >=1.2
 
-Flag base3
-  Description: Choose the new smaller, split-up base package.
-
 Executable ghc-pkg
     Main-Is: Main.hs
+    Other-Modules: Version
     Extensions: CPP, ForeignFunctionInterface
-    if flag(base3)
-        Build-Depends: base       >= 3   && < 5,
-                       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
 
+    Build-Depends: base       >= 4   && < 5,
+                   directory  >= 1   && < 1.2,
+                   process    >= 1   && < 1.1,
+                   filepath,
+                   Cabal,
+                   binary,
+                   bin-package-db,
+                   bytestring
+    if !os(windows)
+        Build-Depends: unix,
+                       terminfo
+    if os(windows)
+        c-sources: CRT_noglob.c