From f3f5a047efe49530fa730912c8f80d4c57b53347 Mon Sep 17 00:00:00 2001 From: Jose A Ortega Ruiz Date: Tue, 16 Feb 2010 22:56:56 +0100 Subject: Documenting that flags must be passed to cabal _install_ Ignore-this: 30cf6bf6382573808029b6650a20564 darcs-hash:20100216215656-748be-762a06cee059c8fd1083e964a4e03f455568a5af.gz --- xmobar.cabal | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) (limited to 'xmobar.cabal') diff --git a/xmobar.cabal b/xmobar.cabal index f3ded0b..24f6b36 100644 --- a/xmobar.cabal +++ b/xmobar.cabal @@ -33,17 +33,19 @@ flag with_inotify executable xmobar main-is: Main.hs - other-Modules: Xmobar, Config, Parsers, Commands, XUtil, Runnable, Plugins, Plugins.Monitors.StatFS + other-Modules: Xmobar, Config, Parsers, Commands, XUtil, StatFS, Runnable, Plugins ghc-prof-options: -prof -auto-all if true - ghc-options: -funbox-strict-fields -Wall + ghc-options: -funbox-strict-fields -Wall if impl (ghc == 6.10.1) && arch (x86_64) - ghc-options: -O0 + ghc-options: -O0 if impl (ghc >= 6.12.1) - ghc-options: -fno-warn-unused-do-bind + ghc-options: -fno-warn-unused-do-bind + + build-depends: X11>=1.3.0, mtl, unix, parsec, filepath, stm if flag(small_base) build-depends: base == 4.*, containers, process, old-time, old-locale, bytestring, directory @@ -52,15 +54,14 @@ executable xmobar build-depends: base < 3 if flag(with_xft) - build-depends: utf8-string, X11-xft >= 0.2 - cpp-options: -DXFT + build-depends: utf8-string, X11-xft >= 0.2 + cpp-options: -DXFT if flag(with_utf8) && impl (ghc < 6.12.1) - build-depends: utf8-string - cpp-options: -DUTF8 + build-depends: utf8-string + cpp-options: -DUTF8 if flag(with_inotify) - build-depends: hinotify - cpp-options: -DINOTIFY + build-depends: hinotify + cpp-options: -DINOTIFY - build-depends: X11>=1.3.0, mtl, unix, parsec, filepath, stm -- cgit v1.2.3