[darcs-users] darcs patch: Make the curl/http flags reflect exactly what darcs is...

Trent W. Buck trentbuck at gmail.com
Mon Mar 16 06:55:18 UTC 2009


Petr Rockai <me at mornfall.net> writes:

> Mon Mar 16 07:35:19 CET 2009  Petr Rockai <me at mornfall.net>
>   * Make the curl/http flags reflect exactly what darcs is built with.
>
> Yours,
>    Petr.
>
>
>
> New patches:
>
> [Make the curl/http flags reflect exactly what darcs is built with.
> Petr Rockai <me at mornfall.net>**20090316063519
>  Ignore-this: 6ab1c038bfd2634a74adee577506c625
> ] hunk ./darcs.cabal 352
>          pkgconfig-depends: libcurl >= 7.19.1
>        cpp-options:       -DCURL_PIPELINING -DCURL_PIPELINING_DEFAULT
>  
> -  if flag(http) || !flag(curl)
> +  if flag(http)
>        build-depends:    network == 2.2.*,
>                          HTTP    >= 3000.0 && < 3001.2
>        cpp-options:      -DHAVE_HTTP
> hunk ./darcs.cabal 358
>        x-have-http:
>  
> +  if !flag(curl) && !flag(http)
> +      buildable: False

Please add an explanatory comment here, e.g.

    -- This prevents Darcs being built without HTTP support.



More information about the darcs-users mailing list