projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
In ghc-pkg, send warnings to stderr
[ghc-hetmet.git]
/
utils
/
ghc-pkg
/
ghc-pkg.cabal
diff --git
a/utils/ghc-pkg/ghc-pkg.cabal
b/utils/ghc-pkg/ghc-pkg.cabal
index
cefad04
..
0b8bb37
100644
(file)
--- a/
utils/ghc-pkg/ghc-pkg.cabal
+++ b/
utils/ghc-pkg/ghc-pkg.cabal
@@
-13,20
+13,32
@@
Category: Development
build-type: Simple
cabal-version: >=1.2
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
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)
if flag(base3)
- Build-Depends: base >= 3 && < 5,
- directory >= 1 && < 1.1,
+ Build-Depends: base >= 3 && < 4
+ if !flag(base3) && !flag(base4)
+ Build-Depends: base < 3
+
+ if flag(base3) || flag(base4)
+ Build-Depends: directory >= 1 && < 1.1,
process >= 1 && < 1.1,
pretty >= 1 && < 1.1
process >= 1 && < 1.1,
pretty >= 1 && < 1.1
- else
- Build-Depends: base < 3
- 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)
if !os(windows)
Build-Depends: unix
if os(windows)