diff options
author | Joey Hess <joey@kitenet.net> | 2014-10-23 16:39:55 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2014-10-23 16:39:55 -0400 |
commit | 737267c0a0c21823ec65d786e59589900859320d (patch) | |
tree | 1abc4342559c565149b30e55537c620e3e220c16 /git-annex.cabal | |
parent | 3fc2cf4ddcb54abdd30c31efef5e8588b4af358a (diff) |
add cabal flag for use with debian's older version of aws, which is now patched with the necessary stuff
Diffstat (limited to 'git-annex.cabal')
-rw-r--r-- | git-annex.cabal | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/git-annex.cabal b/git-annex.cabal index 94b1ed3be..863f35cf8 100644 --- a/git-annex.cabal +++ b/git-annex.cabal @@ -34,6 +34,10 @@ Description: Flag S3 Description: Enable S3 support +Flag PatchedAWS + Description: Building on system, like Debian, with old AWS patched to support git-annex + Default: False + Flag WebDAV Description: Enable WebDAV support @@ -151,7 +155,11 @@ Executable git-annex CPP-Options: -DWITH_CRYPTOHASH if flag(S3) - Build-Depends: aws (>= 0.10.2), conduit, resourcet + Build-Depends: conduit, resourcet + if flag(PatchedAWS) + Build-Depends: aws (>= 0.9.2) + else + Build-Depends: aws (>= 0.10.2) CPP-Options: -DWITH_S3 if flag(WebDAV) |