aboutsummaryrefslogtreecommitdiff
path: root/desktop/xmonad/xmonad.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/xmonad/xmonad.SlackBuild')
-rw-r--r--desktop/xmonad/xmonad.SlackBuild9
1 files changed, 6 insertions, 3 deletions
diff --git a/desktop/xmonad/xmonad.SlackBuild b/desktop/xmonad/xmonad.SlackBuild
index fb0bb01d0b148..ba6ac1df1a331 100644
--- a/desktop/xmonad/xmonad.SlackBuild
+++ b/desktop/xmonad/xmonad.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=xmonad
VERSION=${VERSION:-0.10}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
GHC_VERSION=$(ghc --numeric-version)
@@ -71,7 +71,8 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-# Enable -threaded -dynamic GHC options only for the binary, not for the libs
+# Enable -threaded GHC option only for the binary, not for the libs.
+# And raise haskell-X11 version.
patch -p0 <$CWD/xmonad_cabal.patch
CFLAGS="$SLKCFLAGS" \
@@ -81,8 +82,10 @@ runghc Setup configure \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--libsubdir=ghc-${GHC_VERSION}/$PRGNAM-$VERSION \
--enable-shared \
+ --enable-library-profiling \
+ --enable-executable-dynamic \
--docdir=/usr/doc/$PRGNAM-$VERSION \
- --flags="threaded dynamic"
+ --flags="threaded"
runghc Setup build
runghc Setup haddock