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>
This commit is contained in:
parent
d59261a650
commit
1c47956bcf
1 changed files with 2 additions and 2 deletions
|
@ -84,7 +84,7 @@ Executable git-annex
|
||||||
Build-Depends: hinotify
|
Build-Depends: hinotify
|
||||||
CPP-Options: -DWITH_INOTIFY
|
CPP-Options: -DWITH_INOTIFY
|
||||||
else
|
else
|
||||||
if (! os(windows) && ! os(solaris))
|
if (! os(windows) && ! os(solaris) && ! os(linux))
|
||||||
CPP-Options: -DWITH_KQUEUE
|
CPP-Options: -DWITH_KQUEUE
|
||||||
C-Sources: Utility/libkqueue.c
|
C-Sources: Utility/libkqueue.c
|
||||||
|
|
||||||
|
@ -119,7 +119,7 @@ Test-Suite test
|
||||||
old-locale, time, pcre-light, extensible-exceptions, dataenc, SHA,
|
old-locale, time, pcre-light, extensible-exceptions, dataenc, SHA,
|
||||||
process, json, HTTP, base (>= 4.5 && < 4.7), monad-control,
|
process, json, HTTP, base (>= 4.5 && < 4.7), monad-control,
|
||||||
transformers-base, lifted-base, IfElse, text, QuickCheck >= 2.1,
|
transformers-base, lifted-base, IfElse, text, QuickCheck >= 2.1,
|
||||||
bloomfilter, edit-distance, process
|
bloomfilter, edit-distance, process, SafeSemaphore
|
||||||
Other-Modules: Utility.Touch
|
Other-Modules: Utility.Touch
|
||||||
Include-Dirs: Utility
|
Include-Dirs: Utility
|
||||||
C-Sources: Utility/libdiskfree.c
|
C-Sources: Utility/libdiskfree.c
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue