summaryrefslogtreecommitdiff
path: root/git-annex.cabal
diff options
context:
space:
mode:
authorGravatar Sergei Trofimovich <slyfox@gentoo.org>2012-12-14 22:56:15 +0300
committerGravatar Joey Hess <joey@kitenet.net>2012-12-14 16:58:52 -0400
commitf402ec9db998fc2348d2fdc4953696d17dc442dd (patch)
treea76616890a64a5a085b3f73aa031dce27be91047 /git-annex.cabal
parentf2bbae86f8766a05a15ced984c4b2fe80a250590 (diff)
cabal: add missing depend to 'test-suite', guard against 'kqueue' on linux
Fixes the following test failure: Preprocessing test suite 'test' for git-annex-3.20121211... Remote/Git.hs:42:8: Could not find module `Control.Concurrent.MSampleVar' It is a member of the hidden package `SafeSemaphore-0.9.0'. Perhaps you need to add `SafeSemaphore' to the build-depends in your .cabal file. Use -v to see a list of the files searched for. Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'git-annex.cabal')
-rw-r--r--git-annex.cabal4
1 files changed, 2 insertions, 2 deletions
diff --git a/git-annex.cabal b/git-annex.cabal
index 67b7658d7..cceeb27e2 100644
--- a/git-annex.cabal
+++ b/git-annex.cabal
@@ -84,7 +84,7 @@ Executable git-annex
Build-Depends: hinotify
CPP-Options: -DWITH_INOTIFY
else
- if (! os(windows) && ! os(solaris))
+ if (! os(windows) && ! os(solaris) && ! os(linux))
CPP-Options: -DWITH_KQUEUE
C-Sources: Utility/libkqueue.c
@@ -119,7 +119,7 @@ Test-Suite test
old-locale, time, pcre-light, extensible-exceptions, dataenc, SHA,
process, json, HTTP, base (>= 4.5 && < 4.7), monad-control,
transformers-base, lifted-base, IfElse, text, QuickCheck >= 2.1,
- bloomfilter, edit-distance, process
+ bloomfilter, edit-distance, process, SafeSemaphore
Other-Modules: Utility.Touch
Include-Dirs: Utility
C-Sources: Utility/libdiskfree.c