projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update compiler using *->*->* as the kind of environment classifiers
[ghc-hetmet.git]
/
libraries
/
bin-package-db
/
bin-package-db.cabal
diff --git
a/libraries/bin-package-db/bin-package-db.cabal
b/libraries/bin-package-db/bin-package-db.cabal
index
cc03200
..
b8b1f65
100644
(file)
--- a/
libraries/bin-package-db/bin-package-db.cabal
+++ b/
libraries/bin-package-db/bin-package-db.cabal
@@
-11,11
+11,21
@@
source-repository head
type: darcs
location: http://darcs.haskell.org/ghc
type: darcs
location: http://darcs.haskell.org/ghc
+flag base3
+ default: False
+
Library {
exposed-modules:
Distribution.InstalledPackageInfo.Binary
Library {
exposed-modules:
Distribution.InstalledPackageInfo.Binary
- build-depends: base >= 3 && < 5,
- binary == 0.5.*,
- Cabal == 1.8.*
+ if flag(base3)
+ build-depends: base >= 3 && < 4
+ cpp-options: -DBASE3
+ else
+ build-depends: base >= 4 && < 5
+
+ build-depends: binary == 0.5.*,
+ Cabal >= 1.8 && < 1.12
+
+ extensions: CPP
}
}