summaryrefslogtreecommitdiff
path: root/haskell/haskell-citeproc-hs/haskell-citeproc-hs.SlackBuild
diff options
context:
space:
mode:
authorMikko Värri <vmj@linuxbox.fi>2013-03-04 00:04:25 -0500
committerdsomero <xgizzmo@slackbuilds.org>2013-03-04 17:26:43 -0500
commitad4df4c8786aee805c87b0843e40873ddfa91c7f (patch)
treecce1ef9ea5cce7370bf953cdb9b1e5e37deefec3 /haskell/haskell-citeproc-hs/haskell-citeproc-hs.SlackBuild
parentac1f66a4d4bcdffa59ac6e7616b0c006f5dd55da (diff)
downloadslackbuilds-ad4df4c8786aee805c87b0843e40873ddfa91c7f.tar.gz
haskell/haskell-citeproc-hs: Updated for version 0.3.7.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
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 5eccd8f360..7187971ffe 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 \