From 9caa2668a0f32af600f0d5183058477b00ff977f Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Wed, 30 Nov 2016 10:00:45 +0000 Subject: When xpm flag is disabled don't use XPMFile in preprocessor MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Otherwise build fails on preprocessor stage as: Building xmobar-0.24.3... Preprocessing executable 'xmobar' for xmobar-0.24.3... XPMFile.hsc:29:21: fatal error: X11/xpm.h: No such file or directory compilation terminated. Reported-by: Toralf Förster Bug: https://bugs.gentoo.org/601262 Signed-off-by: Sergei Trofimovich --- xmobar.cabal | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xmobar.cabal b/xmobar.cabal index f6a6dae..8a17579 100644 --- a/xmobar.cabal +++ b/xmobar.cabal @@ -87,7 +87,7 @@ executable xmobar main-is: Main.hs other-modules: Xmobar, Actions, Bitmap, Config, Parsers, Commands, Localize, - XUtil, XPMFile, StatFS, Runnable, ColorCache, Window, Signal, + XUtil, StatFS, Runnable, ColorCache, Window, Signal, Environment, Plugins, Plugins.BufferedPipeReader, Plugins.CommandReader, Plugins.Date, Plugins.EWMH, -- cgit v1.2.3