diff options
author | Mikko Värri <vmj@linuxbox.fi> | 2012-06-27 16:23:30 -0400 |
---|---|---|
committer | dsomero <xgizzmo@slackbuilds.org> | 2012-06-27 16:23:30 -0400 |
commit | 8863badc72be7687bea5e2a6352c379adc7e7d60 (patch) | |
tree | ac0ff1ba14ae2196bae07fcf83aed25df43ceab8 /haskell/xmonad-contrib/xmonad-contrib.SlackBuild | |
parent | e26b0c8f801d5bb1d881e14dae90cd8b0d9d1fe8 (diff) | |
download | slackbuilds-8863badc72be7687bea5e2a6352c379adc7e7d60.tar.gz |
haskell/xmonad-contrib: Adjust build for ghc 7.4.x.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'haskell/xmonad-contrib/xmonad-contrib.SlackBuild')
-rw-r--r-- | haskell/xmonad-contrib/xmonad-contrib.SlackBuild | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/haskell/xmonad-contrib/xmonad-contrib.SlackBuild b/haskell/xmonad-contrib/xmonad-contrib.SlackBuild index 3212629e3e..fadea47434 100644 --- a/haskell/xmonad-contrib/xmonad-contrib.SlackBuild +++ b/haskell/xmonad-contrib/xmonad-contrib.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for xmonad-contrib -# Copyright 2011 Mikko Värri, Finland +# Copyright 2012 Mikko Värri, Finland # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,7 +24,7 @@ PRGNAM=xmonad-contrib VERSION=${VERSION:-0.10} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} GHC_VERSION=$(ghc --numeric-version) @@ -71,6 +71,13 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; +# Raise haskell-X11 version. +patch -p0 <$CWD/xmonad-contrib_cabal.patch +# Unambiguate Rotation type +patch -p0 <$CWD/XMonad_Layout_Spiral_hs.patch +# Remove noModMask, which is lifted to X11 bindings +patch -p0 <$CWD/XMonad_Util_Paste_hs.patch + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ runghc Setup configure \ @@ -78,6 +85,7 @@ runghc Setup configure \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --libsubdir=ghc-${GHC_VERSION}/$PRGNAM-$VERSION \ --enable-shared \ + --enable-library-profiling \ --docdir=/usr/doc/$PRGNAM-$VERSION runghc Setup build |