1
0
forked from GitHub/gf-core

gf.cabal: adjust version constrains on the network, cgi and httpd-shed packages

This commit is contained in:
hallgren
2015-02-25 18:41:57 +00:00
parent 5cf0ab4110
commit eea4dfd2fa

View File

@@ -53,6 +53,9 @@ flag interrupt
flag server flag server
Description: Include --server mode Description: Include --server mode
Default: True Default: True
flag network-uri
description: Get Network.URI from the network-uri package
default: True
--flag new-comp --flag new-comp
-- Description: Make -new-comp the default -- Description: Make -new-comp the default
@@ -263,11 +266,12 @@ Library
cpp-options: -DC_RUNTIME cpp-options: -DC_RUNTIME
if flag(server) if flag(server)
build-depends: httpd-shed>=0.4.0.2, network>=2.3 && <2.6, json build-depends: httpd-shed>=0.4.0.3, network>=2.3 && <2.7, json,
if impl(ghc>=7.8) cgi>=3001.2.2.0
build-depends: cgi>=3001.2.2.0 if flag(network-uri)
build-depends: network-uri>=2.6, network>=2.6
else else
build-depends: cgi build-depends: network<2.6
cpp-options: -DSERVER_MODE cpp-options: -DSERVER_MODE
other-modules: other-modules: