From 80e15f031cebe3a9aeb8fc792cf0bc3dbb4eca47 Mon Sep 17 00:00:00 2001 From: Kazu Yamamoto Date: Fri, 7 Jan 2011 13:37:29 +0900 Subject: co-exist GHC7 and GHC6. --- dns.cabal | 10 ++++++++-- 1 file 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 Maintainer: Kazu Yamamoto 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 -- cgit v1.2.3