aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2008-12-01 04:54:29 +0000
committerfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2008-12-01 04:54:29 +0000
commit035f0ff91730a4f55c47d7447deb49f023698ab9 (patch)
tree7c558a81207ccc9afa5a1761d0a2ebfca51156fa
parente5c28b37c2788591efe2c4dc0c527126a949502a (diff)
downloadpandoc-035f0ff91730a4f55c47d7447deb49f023698ab9.tar.gz
Conditionally depend on syb and base >= 4 if ghc >= 6.10.
Resolves Issue #109. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1496 788f1e2b-df1e-0410-8736-df70ead52e1b
-rw-r--r--pandoc.cabal6
1 files changed, 5 insertions, 1 deletions
diff --git a/pandoc.cabal b/pandoc.cabal
index b4292b7c1..8e0d74969 100644
--- a/pandoc.cabal
+++ b/pandoc.cabal
@@ -133,12 +133,16 @@ Flag citeproc
Default: False
Library
- Build-Depends: base >= 3, pretty >= 1, containers >= 0.1,
+ Build-Depends: pretty >= 1, containers >= 0.1,
parsec >= 2.1 && < 3, xhtml >= 3000.0,
mtl >= 1.1, network >= 2, filepath >= 1.1,
process >= 1, directory >= 1, template-haskell >= 2.2,
bytestring >= 0.9, zip-archive >= 0.1.1,
utf8-string >= 0.3, old-time >= 1
+ if impl(ghc >= 6.10)
+ Build-depends: base >= 4, syb
+ else
+ Build-depends: base >= 3 && < 4
if flag(highlighting)
Build-depends: highlighting-kate >= 0.2.3
cpp-options: -D_HIGHLIGHTING