diff options
| -rw-r--r-- | xmobar.cabal | 8 | 
1 files changed, 3 insertions, 5 deletions
diff --git a/xmobar.cabal b/xmobar.cabal index dabead7..1eff7ba 100644 --- a/xmobar.cabal +++ b/xmobar.cabal @@ -87,10 +87,6 @@ flag with_weather    description: Enable weather plugin.    default: True -flag with_freebsd -  description: Enable FreeBSD support. -  default: False -  library      hs-source-dirs:  src @@ -261,9 +257,11 @@ library         build-depends: http-conduit, http-types         cpp-options: -DUVMETER -    if flag(with_freebsd) +    if os(freebsd) +       -- enables freebsd specific code         build-depends: bsd-sysctl         cpp-options: -DFREEBSD +  executable xmobar      hs-source-dirs:     app      main-is:            Main.hs  | 
