mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-25 10:03:03 +01:00
7bef4dba5f
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
25 lines
797 B
Diff
25 lines
797 B
Diff
--- xmonad.cabal.orig 2011-01-03 15:29:54.000000000 +0200
|
|
+++ xmonad.cabal 2011-01-03 15:30:55.000000000 +0200
|
|
@@ -33,6 +33,14 @@
|
|
description: Testing mode, only build minimal components
|
|
default: False
|
|
|
|
+flag threaded
|
|
+ description: Use threaded runtime for xmonad binary
|
|
+ default: False
|
|
+
|
|
+flag dynamic
|
|
+ description: Link xmonad binary dynamically
|
|
+ default: False
|
|
+
|
|
library
|
|
exposed-modules: XMonad
|
|
XMonad.Main
|
|
@@ -88,3 +96,7 @@
|
|
ghc-options: -Werror
|
|
if flag(testing) && flag(small_base)
|
|
build-depends: filepath, process, directory, mtl, unix, X11, base, containers, random, extensible-exceptions
|
|
+ if flag(threaded)
|
|
+ ghc-options: -threaded
|
|
+ if flag(dynamic)
|
|
+ ghc-options: -dynamic
|