diff --git a/WebSetup.hs b/WebSetup.hs index 3e2e0832d..ee9f741d6 100644 --- a/WebSetup.hs +++ b/WebSetup.hs @@ -98,14 +98,13 @@ execute command args = showArg arg = if ' ' `elem` arg then "'" ++ arg ++ "'" else arg -- | This function is used to enable parallel compilation of the RGL and --- example grammars, but it is commented out by default --- to avoid casing problems for developers using Cabal<1.20 +-- example grammars numJobs flags = if null n then ["-j","+RTS","-A20M","-N","-RTS"] else ["-j="++n,"+RTS","-A20M","-N"++n,"-RTS"] where -- buildNumJobs is only available in Cabal>=1.20 - n = {-case buildNumJobs flags of + n = case buildNumJobs flags of Flag mn | mn/=Just 1-> maybe "" show mn - _ ->-} "" + _ -> "" diff --git a/gf.cabal b/gf.cabal index 38dc6ddb9..120b11b2f 100644 --- a/gf.cabal +++ b/gf.cabal @@ -1,7 +1,7 @@ name: gf -version: 3.9 +version: 3.9-git -cabal-version: >= 1.10 +cabal-version: >= 1.20 build-type: Custom license: OtherLicense license-file: LICENSE @@ -57,6 +57,7 @@ flag interrupt flag server Description: Include --server mode Default: True + flag network-uri description: Get Network.URI from the network-uri package default: True @@ -68,6 +69,7 @@ flag network-uri flag custom-binary Description: Use a customised version of the binary package Default: True + Manual: True flag c-runtime Description: Include functionality from the C run-time library (which must be installed already) @@ -75,7 +77,7 @@ flag c-runtime Library default-language: Haskell2010 - build-depends: base >= 4.5 && <5, + build-depends: base >= 4.6 && <5, array, containers, bytestring, diff --git a/index.html b/index.html index 824dfe23a..d38227c1a 100644 --- a/index.html +++ b/index.html @@ -89,7 +89,7 @@ function sitesearch() {

Develop Applications