From: <cod...@go...> - 2009-01-13 16:54:54
|
Author: jam...@us... Date: Tue Jan 13 08:54:16 2009 New Revision: 385 Modified: / (props changed) trunk/hoc/InterfaceGenerator2/Output.hs Log: Quick fix in InterfaceGenerator2 to make bindings build on ghc 6.10: adds "<4" to the "base" dependency in the generated cabal file. A more complete fix could be to add cabal file splicing and/or pragma splicing to the AdditionalCode handling system. Modified: trunk/hoc/InterfaceGenerator2/Output.hs ============================================================================== --- trunk/hoc/InterfaceGenerator2/Output.hs (original) +++ trunk/hoc/InterfaceGenerator2/Output.hs Tue Jan 13 08:54:16 2009 @@ -292,7 +292,7 @@ text "build-type: Simple" $+$ text "build-depends:" <+> hsep (punctuate comma $ map text $ - ["base", "HOC"] ++ map ("HOC-" ++) dependencies) $+$ + ["base <4", "HOC"] ++ map ("HOC-" ++) dependencies) $+$ -- text "" $+$ text "exposed-modules:" <+> sep (punctuate comma $ map textBS $ BS.pack frameworkName : modules) $+$ |