@@ -22,6 +22,10 @@ Flag print
2222 Description: print debug info
2323 Default: False
2424
25+flag blaze_html_0_5
26+ Description: use blaze-html 0.5 and blaze-markup 0.5
27+ Default: False
28+
2529library
2630 build-depends: base >= 4 && < 5
2731 , wai >= 1.2 && < 1.3
@@ -31,7 +35,6 @@ library
3135 , unix-compat >= 0.2
3236 , directory >= 1.0.1 && < 1.2
3337 , containers >= 0.2 && < 0.5
34− , blaze-html >= 0.4 && < 0.5
3538 , time >= 1.1.4
3639 , old-locale >= 1.0.0.2 && < 1.1
3740 , file-embed >= 0.0.3.1 && < 0.1
@@ -40,6 +43,15 @@ library
4043 , base64-bytestring >= 0.1 && < 0.2
4144 , cryptohash >= 0.7 && < 0.8
4245 , http-date
46+
47+ if flag(blaze_html_0_5)
48+ build-depends:
49+ blaze-html >= 0.5 && < 0.6
50+ , blaze-markup >= 0.5.1 && < 0.6
51+ else
52+ build-depends:
53+ blaze-html >= 0.4 && < 0.5
54+
4355 exposed-modules: Network.Wai.Application.Static
4456 ghc-options: -Wall
4557 extensions: CPP