diff options
author | 2013-05-06 09:44:55 -0400 | |
---|---|---|
committer | 2013-05-06 09:44:55 -0400 | |
commit | 07c69b53358df2bce72d3a7aedc9b66a133c5037 (patch) | |
tree | ac3ea2babbfb51cbdb530e30af52215afdd8469f /git-annex.cabal | |
parent | c34cc0d4a02b120712b9f92d0d7e7df0b57fc473 (diff) |
Avoid depending on regex-tdfa on mips, mipsel, and s390, where it fails to build.
Diffstat (limited to 'git-annex.cabal')
-rw-r--r-- | git-annex.cabal | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/git-annex.cabal b/git-annex.cabal index b1a2e20c3..7678b7feb 100644 --- a/git-annex.cabal +++ b/git-annex.cabal @@ -62,6 +62,9 @@ Flag Android Flag TestSuite Description: Embed the test suite into git-annex +Flag TDFA + Description: Use regex-tdfa for wildcards + Executable git-annex Main-Is: git-annex.hs Build-Depends: MissingH, hslogger, directory, filepath, @@ -70,7 +73,7 @@ Executable git-annex extensible-exceptions, dataenc, SHA, process, json, base (>= 4.5 && < 4.8), monad-control, transformers-base, lifted-base, IfElse, text, QuickCheck >= 2.1, bloomfilter, edit-distance, process, - SafeSemaphore, uuid, random, regex-tdfa, dlist + SafeSemaphore, uuid, random, dlist -- Need to list these because they're generated from .hsc files. Other-Modules: Utility.Touch Utility.Mounts Include-Dirs: Utility @@ -87,6 +90,10 @@ Executable git-annex Build-Depends: HUnit CPP-Options: -DWITH_TESTSUITE + if flag(TDFA) + Build-Depends: regex-tdfa + CPP-Options: -DWITH_TDFA + if flag(S3) Build-Depends: hS3 CPP-Options: -DWITH_S3 |