Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

cabal: add flag splitBase, use upper bounds on base

  • Loading branch information...
commit 1b0720ffd6947a2cc5a852bf17d3a5a0287200b6 1 parent 25456fd
@kfish authored
Showing with 11 additions and 1 deletion.
  1. +11 −1 cairo-appbase.cabal
View
12 cairo-appbase.cabal
@@ -63,11 +63,21 @@ Cabal-Version: >= 1.8
Build-type: Simple
Data-Files: data/main.glade
+flag splitBase
+ description: Use the split-up base package.
+
Executable cairo-appbase
+ if flag(splitBase)
+ build-depends:
+ base >= 3 && < 6
+ else
+ build-depends:
+ base < 3
+
Main-Is: cairo-appbase.hs
Hs-Source-Dirs: src
ghc-options: -Wall -fglasgow-exts -O2 -funbox-strict-fields
- Build-Depends: base, glib, gtk, glade, cairo
+ Build-Depends: glib, gtk, glade, cairo
------------------------------------------------------------------------
-- Git repo
Please sign in to comment.
Something went wrong with that request. Please try again.