[Pkg-haskell-commits] darcs: ghc: New patch: Do not build haddock-the-library

Joachim Breitner mail at joachim-breitner.de
Sat Jan 15 09:12:56 UTC 2011


Sat Jan 15 09:09:37 UTC 2011  Joachim Breitner <mail at joachim-breitner.de>
  * New patch: Do not build haddock-the-library
  Ignore-this: fb50a7f214ff36d8500f3b5bf8ee65c
  Now the package builds (still old package names of course)

    A ./patches/haddock-no-library
    M ./patches/series +1

Sat Jan 15 09:09:37 UTC 2011  Joachim Breitner <mail at joachim-breitner.de>
  * New patch: Do not build haddock-the-library
  Ignore-this: fb50a7f214ff36d8500f3b5bf8ee65c
  Now the package builds (still old package names of course)
diff -rN -u old-ghc/patches/haddock-no-library new-ghc/patches/haddock-no-library
--- old-ghc/patches/haddock-no-library	1970-01-01 00:00:00.000000000 +0000
+++ new-ghc/patches/haddock-no-library	2011-01-15 09:12:56.722782411 +0000
@@ -0,0 +1,75 @@
+Index: ghc-7.0.1/utils/haddock/haddock.cabal
+===================================================================
+--- ghc-7.0.1.orig/utils/haddock/haddock.cabal	2011-01-15 14:07:35.000000000 +0530
++++ ghc-7.0.1/utils/haddock/haddock.cabal	2011-01-15 14:07:42.000000000 +0530
+@@ -129,70 +129,3 @@
+     Haddock.Options
+     Haddock.GhcUtils
+     Haddock.Convert
+-   
+-library
+-  build-depends:
+-    base >= 4.0.0.0 && < 4.4.0.0,
+-    filepath,
+-    directory,
+-    pretty,
+-    containers,
+-    array,
+-    xhtml >= 3000.2 && < 3000.3,
+-    Cabal >= 1.5,
+-    ghc >= 6.12 && < 7.1
+-
+-  if flag(in-ghc-tree)
+-    cpp-options: -DIN_GHC_TREE
+-    extensions: ForeignFunctionInterface
+-  else
+-    build-depends: ghc-paths
+-
+-  if flag(test)
+-    cpp-options: -DTEST
+-    build-depends: QuickCheck >= 2.1 && < 3
+-
+-  hs-source-dirs:       src
+-  extensions:           CPP, PatternGuards, DeriveDataTypeable,
+-                        ScopedTypeVariables, MagicHash
+-  ghc-options:          -funbox-strict-fields -O2 -Wall -fwarn-tabs
+-
+-  exposed-modules:
+-    Documentation.Haddock
+-
+-  other-modules:
+-    Main
+-    Haddock.Interface
+-    Haddock.Interface.Rename
+-    Haddock.Interface.Create
+-    Haddock.Interface.ExtractFnArgDocs
+-    Haddock.Interface.AttachInstances
+-    Haddock.Interface.Rn
+-    Haddock.Interface.LexParseRn
+-    Haddock.Interface.ParseModuleHeader
+-    Haddock.Lex
+-    Haddock.Parse
+-    Haddock.Utils
+-    Haddock.Backends.Xhtml
+-    Haddock.Backends.Xhtml.Decl
+-    Haddock.Backends.Xhtml.DocMarkup
+-    Haddock.Backends.Xhtml.Layout
+-    Haddock.Backends.Xhtml.Names
+-    Haddock.Backends.Xhtml.Themes
+-    Haddock.Backends.Xhtml.Types
+-    Haddock.Backends.Xhtml.Utils
+-    Haddock.Backends.LaTeX
+-    Haddock.Backends.HaddockDB
+-    Haddock.Backends.Hoogle
+-    Haddock.ModuleTree
+-    Haddock.Types
+-    Haddock.Doc
+-    Haddock.Version
+-    Haddock.InterfaceFile
+-    Haddock.Options
+-    Haddock.GhcUtils
+-    Haddock.Convert
+-    Paths_haddock
+-  
+-  if flag(in-ghc-tree)
+-    buildable: False
diff -rN -u old-ghc/patches/series new-ghc/patches/series
--- old-ghc/patches/series	2011-01-15 09:12:56.714781989 +0000
+++ new-ghc/patches/series	2011-01-15 09:12:56.726782621 +0000
@@ -4,3 +4,4 @@
 getallinfo-nothing-ghci-566331
 haddock-hardcode-ghc-paths
 use-debian-gen_contents_index
+haddock-no-library





More information about the Pkg-haskell-commits mailing list