[commit: Cabal] master: Changed configurations to make it build with ghc 6.8 and ghc 6.6. I haven't tested 6.6.1, but it should work. (4172750)
Ian Lynagh
igloo at earth.li
Fri Jun 24 01:47:12 CEST 2011
Repository : ssh://darcs.haskell.org//srv/darcs/packages/Cabal
On branch : master
http://hackage.haskell.org/trac/ghc/changeset/417275037fad61cbd16e0100d68795aeffd3129d
>---------------------------------------------------------------
commit 417275037fad61cbd16e0100d68795aeffd3129d
Author: bjorn <bjorn at bringert.net>
Date: Mon Oct 8 21:18:36 2007 +0000
Changed configurations to make it build with ghc 6.8 and ghc 6.6. I haven't tested 6.6.1, but it should work.
>---------------------------------------------------------------
cabal-install/cabal-install.cabal | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/cabal-install/cabal-install.cabal b/cabal-install/cabal-install.cabal
index 3c42b45..f8a4bd2 100644
--- a/cabal-install/cabal-install.cabal
+++ b/cabal-install/cabal-install.cabal
@@ -18,6 +18,7 @@ Cabal-Version: >= 1.2
flag old-base
description: Old, monolithic base
+ default: False
Executable cabal
Main-Is: Main.hs
@@ -39,4 +40,8 @@ Executable cabal
build-depends: mtl, network, regex-compat, unix, Cabal>=1.3,
zlib >= 0.4, HTTP >= 3000.0 && < 3000.1, filepath >= 1.0
- build-depends: base >= 2.1, process, directory, pretty, bytestring >= 0.9
+ if flag(old-base) {
+ build-depends: base == 2.0 || == 2.1.1
+ } else {
+ build-depends: base >= 2.1, process, directory, pretty, bytestring >= 0.9
+ }
More information about the Cvs-libraries
mailing list