FIX #2491 (ghc-pkg unregister should complain about breaking dependent packages)
[ghc-hetmet.git] / utils / ghc-pkg / ghc-pkg.cabal
index 90722a6..cefad04 100644 (file)
@@ -20,7 +20,7 @@ Executable ghc-pkg
     Main-Is: Main.hs
     Extensions: CPP, ForeignFunctionInterface
     if flag(base3)
-        Build-Depends: base       >= 3   && < 4,
+        Build-Depends: base       >= 3   && < 5,
                        directory  >= 1   && < 1.1,
                        process    >= 1   && < 1.1,
                        pretty     >= 1   && < 1.1
@@ -29,4 +29,5 @@ Executable ghc-pkg
     Build-Depends: haskell98, filepath, Cabal
     if !os(windows)
         Build-Depends: unix
-
+    if os(windows)
+        c-sources: CRT_noglob.c