diff options
Diffstat (limited to 'haskell/haskell-citeproc-hs/haskell-citeproc-hs.SlackBuild')
-rw-r--r-- | haskell/haskell-citeproc-hs/haskell-citeproc-hs.SlackBuild | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/haskell/haskell-citeproc-hs/haskell-citeproc-hs.SlackBuild b/haskell/haskell-citeproc-hs/haskell-citeproc-hs.SlackBuild index c0d3de8fe4bb..8929d1807caf 100644 --- a/haskell/haskell-citeproc-hs/haskell-citeproc-hs.SlackBuild +++ b/haskell/haskell-citeproc-hs/haskell-citeproc-hs.SlackBuild @@ -24,7 +24,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=haskell-citeproc-hs -VERSION=${VERSION:-0.3.9} +VERSION=${VERSION:-0.3.10} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -69,14 +69,21 @@ tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $SRCNAM-$VERSION chown -R root:root . 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 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; + \( -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 {} \; # Fix compilation which is missing a CPP pass patch -p0 <$CWD/citeproc-hs_cabal.patch +# Fixes for ghc-7.10.3 etc +sed -i -e '1i{-# LANGUAGE FlexibleContexts #-}' \ + src/Text/CSL/Eval/Names.hs \ + src/Text/CSL/Eval.hs +sed -i -e '/import System.Locale/d' \ + src/Text/CSL/Test.hs + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ runghc Setup configure \ |