aboutsummaryrefslogtreecommitdiff
path: root/haskell/haskell-citeproc-hs/haskell-citeproc-hs.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'haskell/haskell-citeproc-hs/haskell-citeproc-hs.SlackBuild')
-rw-r--r--haskell/haskell-citeproc-hs/haskell-citeproc-hs.SlackBuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/haskell/haskell-citeproc-hs/haskell-citeproc-hs.SlackBuild b/haskell/haskell-citeproc-hs/haskell-citeproc-hs.SlackBuild
index 5eccd8f36089e..7187971ffe005 100644
--- a/haskell/haskell-citeproc-hs/haskell-citeproc-hs.SlackBuild
+++ b/haskell/haskell-citeproc-hs/haskell-citeproc-hs.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for citeproc-hs
# Written by Peter Wang (novalazy@gmail.com)
-# Copyright 2012 Mikko Värri, Finland
+# Copyright 2013 Mikko Värri, Finland
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +24,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=haskell-citeproc-hs
-VERSION=${VERSION:-0.3.4}
+VERSION=${VERSION:-0.3.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -74,6 +74,9 @@ find . \
\( -perm 666 -o -perm 664 -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
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
runghc Setup configure \