MERGE: fix ugly uses of memcpy foreign import inside ST
[packages/old-time.git] / package.conf.in
index a1c2178..d57b86d 100644 (file)
@@ -7,6 +7,7 @@ maintainer:     libraries@haskell.org
 exposed:       True
 
 exposed-modules:
+       Control.Applicative,
        Control.Arrow,
        Control.Concurrent,
        Control.Concurrent.Chan,
@@ -17,6 +18,7 @@ exposed-modules:
        Control.Exception,
        Control.Monad,
        Control.Monad.Fix,
+       Control.Monad.Instances,
        Control.Monad.ST,
        Control.Monad.ST.Lazy,
        Control.Monad.ST.Strict,
@@ -27,18 +29,26 @@ exposed-modules:
        Data.Array.Diff,
        Data.Array.IArray,
        Data.Array.IO,
-       Data.Array.IO.Internals,
        Data.Array.MArray,
        Data.Array.ST,
        Data.Array.Storable,
        Data.Array.Unboxed,
        Data.Bits,
        Data.Bool,
+       Data.ByteString,
+       Data.ByteString.Char8,
+       Data.ByteString.Lazy
+       Data.ByteString.Lazy.Char8
+       Data.ByteString.Base
+       Data.ByteString.Fusion
        Data.Char,
        Data.Complex,
        Data.Dynamic,
        Data.Either,
-       Data.FiniteMap,
+       Data.Eq,
+       Data.Fixed,
+       Data.Foldable,
+       Data.Function,
        Data.Generics,
        Data.Generics.Aliases,
        Data.Generics.Basics,
@@ -50,17 +60,23 @@ exposed-modules:
        Data.HashTable,
        Data.IORef,
        Data.Int,
+       Data.IntMap,
+       Data.IntSet,
        Data.Ix,
        Data.List,
        Data.Maybe,
+       Data.Map,
        Data.Monoid,
+       Data.Ord,
        Data.PackedString,
-       Data.Queue,
        Data.Ratio,
        Data.STRef,
        Data.STRef.Lazy,
        Data.STRef.Strict,
+       Data.Sequence,
        Data.Set,
+       Data.String,
+       Data.Traversable,
        Data.Tree,
        Data.Tuple,
        Data.Typeable,
@@ -86,6 +102,7 @@ exposed-modules:
        Foreign.Storable,
        GHC.ConsoleHandler,
        GHC.Dotnet,
+       GHC.Dynamic,
        GHC.Exts,
        GHC.ForeignPtr,
        GHC.Handle,
@@ -101,9 +118,9 @@ exposed-modules:
        System.Console.GetOpt,
        System.CPUTime,
        System.Directory,
+       System.Directory.Internals,
        System.Environment,
        System.Exit,
-       System.FilePath,
        System.IO,
        System.IO.Error,
        System.IO.Unsafe,
@@ -119,8 +136,6 @@ exposed-modules:
        System.Process.Internals,
        System.Random,
        System.Time,
-       Text.Html,
-       Text.Html.BlockTable,
        Text.ParserCombinators.ReadP,
        Text.ParserCombinators.ReadPrec,
        Text.PrettyPrint,
@@ -128,10 +143,9 @@ exposed-modules:
        Text.Printf,
        Text.Read,
        Text.Read.Lex,
-       Text.Regex,
-       Text.Regex.Posix,
        Text.Show,
        Text.Show.Functions,
+       Unsafe.Coerce,
        GHC.Arr,
        GHC.Base,
        GHC.Conc,
@@ -143,6 +157,7 @@ exposed-modules:
        GHC.List,
        GHC.Num,
        GHC.Pack,
+       GHC.Prim,
        GHC.Ptr,
        GHC.Read,
        GHC.Real,
@@ -155,45 +170,29 @@ exposed-modules:
        GHC.Weak
 
 hidden-modules:
+       Data.Array.IO.Internals
 
 import-dirs:   IMPORT_DIR
 
-#ifdef INSTALLING
-library-dirs:  "$libdir"
-#else
-library-dirs:  "$libdir/libraries/base",
-               "$libdir/libraries/base/cbits"
+library-dirs:  LIB_DIR
+#ifndef INSTALLING
+               , LIB_DIR"/cbits"
 #endif
 
-#if !defined(mingw32_TARGET_OS) && !defined(cygwin32_TARGET_OS)
 hs-libraries:   "HSbase"
-#else
-/*
- This splitting is the subject of a totally 
- horrible hack, which glues HSbase{1,2,3}
- back into HSbaase for the purposes of static linking.
- See DriverState.getPackageLibraries for details.
-*/
-hs-libraries:  "HSbase1", "HSbase2", "HSbase3"
-#endif
 
-extra-libs:  "HSbase_cbits"
-#if defined(mingw32_TARGET_OS) || defined(__MINGW32__) || defined(_MSC_VER)
+extra-libraries:  "HSbase_cbits"
+#if defined(mingw32_HOST_OS) || defined(__MINGW32__) || defined(_MSC_VER)
             , "wsock32", "msvcrt", "kernel32", "user32", "shell32"
 #endif
 
-#ifdef INSTALLING
-include-dirs:
-#else
-include-dirs: "$libdir/libraries/base/include"
-#endif
-
+include-dirs:          INCLUDE_DIR
 includes:              HsBase.h
 depends:               rts
-extra-hugs-opts:
-extra-cc-opts:
-extra-ld-opts:
+hugs-options:
+cc-options:
+ld-options:
 framework-dirs:
-extra-frameworks:
-haddock-interfaces:
-haddock-html:
+frameworks:
+haddock-interfaces:    HADDOCK_IFACE
+haddock-html:          HTML_DIR