summaryrefslogtreecommitdiff
path: root/git-annex.cabal
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-10-28 19:14:30 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-10-28 19:14:30 -0400
commit5833d9363006aea862f6ef8810fe61ebd03f0bb9 (patch)
treef51f31edb28743ad848c98803a7d8e21c252a694 /git-annex.cabal
parentb64f43388c7b2c69ec0e930553363d6a419d2f45 (diff)
support using haskell-dns for SRV lookups
This library should be easier to install than ADNS, so I've made it be used by default.
Diffstat (limited to 'git-annex.cabal')
-rw-r--r--git-annex.cabal10
1 files changed, 5 insertions, 5 deletions
diff --git a/git-annex.cabal b/git-annex.cabal
index 4e910183c..7d83239a0 100644
--- a/git-annex.cabal
+++ b/git-annex.cabal
@@ -46,8 +46,8 @@ Flag Pairing
Flag XMPP
Description: Enable notifications using XMPP
-Flag Adns
- Description: Enable the ADNS library for DNS lookup
+Flag DNS
+ Description: Enable the haskell DNS library for DNS lookup
Executable git-annex
Main-Is: git-annex.hs
@@ -101,9 +101,9 @@ Executable git-annex
Build-Depends: network-protocol-xmpp, gnutls (>= 0.1.4)
CPP-Options: -DWITH_XMPP
- if flag(XMPP) && flag(Assistant) && flag(Adns)
- Build-Depends: hsdns
- CPP-Options: -DWITH_ADNS
+ if flag(XMPP) && flag(Assistant) && flag(DNS)
+ Build-Depends: dns
+ CPP-Options: -DWITH_DNS
Test-Suite test
Type: exitcode-stdio-1.0