summaryrefslogtreecommitdiff
path: root/git-annex.cabal
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2015-08-17 11:52:23 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2015-08-17 11:53:16 -0400
commitaf52a3fbbe60e500b127923e088496dea896b2bc (patch)
tree510a9fae49b08b5ad55b9e5a7112554518d3eaa6 /git-annex.cabal
parentb483d5555a0269021c985bb021c268ec072ab2ea (diff)
Avoid building the assistant on the hurd, since an inotify equivilant is not yet implemented in git-annex for the hurd.
Note that https://github.com/haskell/hackage-server/issues/269 is fixed, so hopefully I can upload this to hackage this time.
Diffstat (limited to 'git-annex.cabal')
-rw-r--r--git-annex.cabal7
1 files changed, 4 insertions, 3 deletions
diff --git a/git-annex.cabal b/git-annex.cabal
index 8903839bb..103f1227a 100644
--- a/git-annex.cabal
+++ b/git-annex.cabal
@@ -190,7 +190,7 @@ Executable git-annex
Build-Depends: DAV (>= 1.0), http-client
CPP-Options: -DWITH_WEBDAV
- if flag(Assistant) && ! os(solaris)
+ if flag(Assistant) && ! os(solaris) && ! os(gnu)
CPP-Options: -DWITH_ASSISTANT
if flag(Assistant)
@@ -211,8 +211,9 @@ Executable git-annex
Build-Depends: hinotify
CPP-Options: -DWITH_INOTIFY
else
- CPP-Options: -DWITH_KQUEUE
- C-Sources: Utility/libkqueue.c
+ if ! os(gnu)
+ CPP-Options: -DWITH_KQUEUE
+ C-Sources: Utility/libkqueue.c
if (os(linux))
if flag(Dbus)