Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

enable building on pre GHC7 still

  • Loading branch information...
commit 582bd082a4f2a4cf5114f6c09bb044613b982bda 1 parent 1b1b829
@JPMoresmau authored
View
37 roguestar-engine/roguestar-engine.cabal
@@ -1,18 +1,10 @@
name: roguestar-engine
version: 0.5
-cabal-version: -any
+cabal-version: >=1.2
build-type: Simple
license: OtherLicense
license-file: LICENSE
maintainer: Christopher Lane Hinson <lane@downstairspeople.org>
-build-depends: hslogger >=1.1.0 ,
- priority-sync >=0.2.1.0 && <0.3, PSQueue >=1.1 && <1.2,
- bytestring >=0.9.1.5, parallel >=2.2.0.1 ,
- stm >=2.1.1.2, data-memocombinators >=0.4.0 && <0.5,
- MonadRandom >=0.1.4 && <0.2, MaybeT >=0.1.2 && <0.2,
- mtl >=1.1.0.2, random >=1.0.0.2 && <1.1,
- old-time >=1.0.0.3 && <1.1, array >=0.3.0.0 && <0.3.1,
- containers >=0.3.0.0, base >=4 && <5
homepage: http://roguestar.downstairspeople.org/
synopsis: Sci-fi roguelike game. Backend.
description: Requires roguestar and roguestar-glut.
@@ -20,11 +12,18 @@ category: Game
author: Christopher Lane Hinson
tested-with: GHC ==6.12.1
-executable: roguestar-engine
-main-is: Main.hs
-pkgconfig-depends:
-hs-source-dirs: src
-other-modules: TravelData VisibilityData Stats FactionData Behavior
+executable roguestar-engine
+ main-is: Main.hs
+ hs-source-dirs: src
+ build-depends: hslogger >=1.1.0 ,
+ priority-sync >=0.2.1.0 && <0.3, PSQueue >=1.1 && <1.2,
+ bytestring >=0.9.1.5, parallel >=2.2.0.1 ,
+ stm >=2.1.1.2, data-memocombinators >=0.4.0 && <0.5,
+ MonadRandom >=0.1.4 && <0.2, MaybeT >=0.1.2 && <0.2,
+ mtl >=1.1.0.2, random >=1.0.0.2 && <1.1,
+ old-time >=1.0.0.3 && <1.1, array >=0.3.0.0 && <0.3.1,
+ containers >=0.3.0.0, base >=4 && <5
+ other-modules: TravelData VisibilityData Stats FactionData Behavior
Alignment PlaneData Grids Perception PlaneVisibility Turns Plane
CreatureData StatsData Protocol Character Tool Substances
HierarchicalDatabase Travel ToolData CharacterData Creature Facing
@@ -34,6 +33,10 @@ other-modules: TravelData VisibilityData Stats FactionData Behavior
Random PlayerState MakeData DBErrorFlag Construction Make Activate
Contact DeviceActivation WorkCluster Planet PlanetData Logging
NodeData CharacterAdvancement
-ghc-prof-options: -prof -auto-all
-ghc-shared-options: -prof -auto-all
-ghc-options: -threaded -fno-warn-type-defaults -rtsopts=all
+ ghc-prof-options: -prof -auto-all
+ ghc-shared-options: -prof -auto-all
+ if impl(ghc >= 7.0)
+ ghc-options: -threaded -fno-warn-type-defaults -rtsopts=all
+ else
+ ghc-options: -threaded -fno-warn-type-defaults
+
View
2  roguestar-gl/roguestar-gl.cabal
@@ -49,6 +49,6 @@ Library
bytestring>=0.9.1.5 && < 0.10,
stm>=2.1.1.2,
priority-sync>=0.2.1.0 && < 0.2.2
- ghc-options: -fno-warn-type-defaults -fexcess-precision -rtsopts=all
+ ghc-options: -fno-warn-type-defaults -fexcess-precision
ghc-prof-options: -prof -auto-all
View
5 roguestar-glut/roguestar-glut.cabal
@@ -21,6 +21,9 @@ Executable roguestar-glut
roguestar-gl==0.5,
GLUT>=2.2.2.0 && < 2.3,
rsagl==0.5
- ghc-options: -threaded -fno-warn-type-defaults -fexcess-precision -rtsopts=all
+ if impl(ghc >= 7.0)
+ ghc-options: -threaded -fno-warn-type-defaults -fexcess-precision -rtsopts=all
+ else
+ ghc-options: -threaded -fno-warn-type-defaults -fexcess-precision
ghc-prof-options: -prof -auto-all
Please sign in to comment.
Something went wrong with that request. Please try again.