openbsd-ports/net/hs-HTTP/patches/patch-HTTP_cabal

45 lines
1.2 KiB
Plaintext

$OpenBSD: patch-HTTP_cabal,v 1.1.1.1 2008/08/27 18:55:05 kili Exp $
--- HTTP.cabal.orig Thu Dec 13 13:51:16 2007
+++ HTTP.cabal Tue Aug 26 21:11:00 2008
@@ -1,7 +1,5 @@
Name: HTTP
Version: 3001.0.4
-Cabal-Version: >= 1.2
-Build-type: Simple
License: BSD3
License-file: LICENSE
Copyright:
@@ -16,13 +14,8 @@ Author: Warrick Gray <warrick.gray@hotmail.com>
Maintainer: Bjorn Bringert <bjorn@bringert.net>
Homepage: http://www.haskell.org/http/
Description: A library for client-side HTTP
-
-Flag old-base
- description: Old, monolithic base
- default: False
-
-Library
- Exposed-modules:
+Build-depends: network, parsec, base < 3
+Exposed-modules:
Network.Stream,
Network.StreamDebugger,
Network.StreamSocket,
@@ -30,14 +23,8 @@ Library
Network.HTTP,
Network.HTTP.Headers,
Network.Browser
- Other-modules:
+Other-modules:
Network.HTTP.Base64,
Network.HTTP.MD5,
Network.HTTP.MD5Aux
- GHC-options: -fwarn-missing-signatures
- Build-depends: network, parsec
-
- if flag(old-base)
- Build-depends: base < 3
- else
- Build-depends: base >= 3, array
+GHC-options: -fwarn-missing-signatures