From 035f0ff91730a4f55c47d7447deb49f023698ab9 Mon Sep 17 00:00:00 2001 From: fiddlosopher Date: Mon, 1 Dec 2008 04:54:29 +0000 Subject: 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 --- pandoc.cabal | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3