summaryrefslogtreecommitdiff
path: root/git-annex.cabal
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@oberon.tam-lin.net>2012-12-27 14:19:12 -0500
committerGravatar Joey Hess <joey@kitenet.net>2012-12-27 15:22:29 -0400
commit4c6096e2f92db212c2172e5567e5eaa53629ab9a (patch)
tree625ab2f9fce363477e7f0385c659ca5b6fe2f23f /git-annex.cabal
parenteeee547d7f9a4247d82954b823c1649e115d76d9 (diff)
OSX FSEvents support
Needs work to deal with directory renames better; otherwise seems to basically work.
Diffstat (limited to 'git-annex.cabal')
-rw-r--r--git-annex.cabal12
1 files changed, 8 insertions, 4 deletions
diff --git a/git-annex.cabal b/git-annex.cabal
index cceeb27e2..752c28a3b 100644
--- a/git-annex.cabal
+++ b/git-annex.cabal
@@ -1,5 +1,5 @@
Name: git-annex
-Version: 3.20121211
+Version: 3.20121212
Cabal-Version: >= 1.8
License: GPL
Maintainer: Joey Hess <joey@kitenet.net>
@@ -84,9 +84,13 @@ Executable git-annex
Build-Depends: hinotify
CPP-Options: -DWITH_INOTIFY
else
- if (! os(windows) && ! os(solaris) && ! os(linux))
- CPP-Options: -DWITH_KQUEUE
- C-Sources: Utility/libkqueue.c
+ if os(darwin)
+ Build-Depends: hfsevents
+ CPP-Options: -DWITH_HFSEVENTS
+ else
+ if (! os(windows) && ! os(solaris) && ! os(linux))
+ CPP-Options: -DWITH_KQUEUE
+ C-Sources: Utility/libkqueue.c
if os(linux) && flag(Dbus)
Build-Depends: dbus (>= 0.10.3)