diff options
author | David Spencer <baildon.research@googlemail.com> | 2016-05-08 10:52:54 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-05-11 03:17:21 +0700 |
commit | 3419b2aa9277a1873a1468ddd406002cc9868f09 (patch) | |
tree | 66f3ff058c407c87817fd091189369c2dacf356f /haskell/haskell-shellish/haskell-shellish.SlackBuild | |
parent | 88cfd70d7f15cc68ecefb17ed293ce8c241b0a7f (diff) | |
download | slackbuilds-3419b2aa9277a1873a1468ddd406002cc9868f09.tar.gz |
haskell/haskell-shellish: Fixed build with ghc-7.10.3.
Signed-off-by: David Spencer <baildon.research@googlemail.com>
Diffstat (limited to 'haskell/haskell-shellish/haskell-shellish.SlackBuild')
-rw-r--r-- | haskell/haskell-shellish/haskell-shellish.SlackBuild | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/haskell/haskell-shellish/haskell-shellish.SlackBuild b/haskell/haskell-shellish/haskell-shellish.SlackBuild index 1d33397a2f..5890abb5ef 100644 --- a/haskell/haskell-shellish/haskell-shellish.SlackBuild +++ b/haskell/haskell-shellish/haskell-shellish.SlackBuild @@ -71,7 +71,10 @@ find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ -o -perm 511 \) -exec chmod 755 {} \; -o \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +sed -i -e '1i{-# LANGUAGE FlexibleContexts #-}' \ + Shellish.hs CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ |