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
This commit is contained in:
parent
e5c28b37c2
commit
035f0ff917
1 changed files with 5 additions and 1 deletions
|
@ -133,12 +133,16 @@ Flag citeproc
|
||||||
Default: False
|
Default: False
|
||||||
|
|
||||||
Library
|
Library
|
||||||
Build-Depends: base >= 3, pretty >= 1, containers >= 0.1,
|
Build-Depends: pretty >= 1, containers >= 0.1,
|
||||||
parsec >= 2.1 && < 3, xhtml >= 3000.0,
|
parsec >= 2.1 && < 3, xhtml >= 3000.0,
|
||||||
mtl >= 1.1, network >= 2, filepath >= 1.1,
|
mtl >= 1.1, network >= 2, filepath >= 1.1,
|
||||||
process >= 1, directory >= 1, template-haskell >= 2.2,
|
process >= 1, directory >= 1, template-haskell >= 2.2,
|
||||||
bytestring >= 0.9, zip-archive >= 0.1.1,
|
bytestring >= 0.9, zip-archive >= 0.1.1,
|
||||||
utf8-string >= 0.3, old-time >= 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)
|
if flag(highlighting)
|
||||||
Build-depends: highlighting-kate >= 0.2.3
|
Build-depends: highlighting-kate >= 0.2.3
|
||||||
cpp-options: -D_HIGHLIGHTING
|
cpp-options: -D_HIGHLIGHTING
|
||||||
|
|
Loading…
Reference in a new issue