summaryrefslogtreecommitdiff
path: root/git-annex.cabal
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2014-09-29 14:08:29 -0400
committerGravatar Joey Hess <joey@kitenet.net>2014-09-29 14:08:29 -0400
commita2aeb9198b588ad7c98785c661054090d450e393 (patch)
treeae7560e165522a7cf9a97ad2a1730a5e4ec4e9e8 /git-annex.cabal
parent9c0c2ed852fea959f312a316d5eaa7006215fbcb (diff)
Adjust cabal file to support building w/o assistant on the hurd.
I used to have this and hackage rejected the os(gnu), so I am going to see if the new hackage still rejects it.
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 84448eca7..fe5a8bb27 100644
--- a/git-annex.cabal
+++ b/git-annex.cabal
@@ -153,7 +153,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)
@@ -174,8 +174,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)