From 1c47956bcf6679114f4bc9ea0e7651909104f983 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Fri, 14 Dec 2012 22:56:15 +0300 Subject: [PATCH] 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 --- git-annex.cabal | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/git-annex.cabal b/git-annex.cabal index 67b7658d78..cceeb27e2f 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