summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Kazu Yamamoto <kazu@iij.ad.jp>2011-01-07 13:37:29 +0900
committerGravatar Kazu Yamamoto <kazu@iij.ad.jp>2011-01-07 13:37:29 +0900
commit80e15f031cebe3a9aeb8fc792cf0bc3dbb4eca47 (patch)
tree991e398466e1d63f1d87bbbaf6688b17e36b2001
parent9c1953df23a6cac2bc18485bcabf24227bea5b42 (diff)
co-exist GHC7 and GHC6.
-rw-r--r--dns.cabal10
1 files changed, 8 insertions, 2 deletions
diff --git a/dns.cabal b/dns.cabal
index 6fffb11..078cf61 100644
--- a/dns.cabal
+++ b/dns.cabal
@@ -1,5 +1,5 @@
Name: dns
-Version: 0.1.1
+Version: 0.1.2
Author: Kazu Yamamoto <kazu@iij.ad.jp>
Maintainer: Kazu Yamamoto <kazu@iij.ad.jp>
License: BSD3
@@ -26,10 +26,16 @@ library
Network.DNS.StateBinary
Network.DNS.Query
Network.DNS.Response
- Build-Depends: base >= 4 && < 5, haskell98,
+ if impl(ghc >= 7)
+ Build-Depends: base >= 4 && < 5, haskell98,
binary, iproute,
containers, mtl, bytestring,
network >= 2.3
+ else
+ Build-Depends: base >= 4 && < 5, haskell98,
+ binary, iproute,
+ containers, mtl, bytestring,
+ network, network-bytestring
Source-Repository head
Type: git
Location: git://github.com/kazu-yamamoto/dns.git