summaryrefslogtreecommitdiff
path: root/haskell/haskell-cgi/haskell-cgi.SlackBuild
diff options
context:
space:
mode:
authorMikko Värri <vmj@linuxbox.fi>2015-02-24 22:45:35 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-04-04 07:46:55 +0700
commit3f101b23b67af178ce409e0d8c16eff436eb5e6b (patch)
treef648a41202d6eb2c8e384b6c30c97467208d5aa5 /haskell/haskell-cgi/haskell-cgi.SlackBuild
parentb0caac93ec965b46b63b89b09ab99ddf17bf9167 (diff)
downloadslackbuilds-3f101b23b67af178ce409e0d8c16eff436eb5e6b.tar.gz
haskell/haskell-cgi: Updated for version 3001.1.8.5.
Signed-off-by: Mikko Värri <vmj@linuxbox.fi> Conflicts: haskell/haskell-cgi/haskell-cgi.SlackBuild haskell/haskell-cgi/haskell-cgi.info Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'haskell/haskell-cgi/haskell-cgi.SlackBuild')
-rw-r--r--haskell/haskell-cgi/haskell-cgi.SlackBuild9
1 files changed, 7 insertions, 2 deletions
diff --git a/haskell/haskell-cgi/haskell-cgi.SlackBuild b/haskell/haskell-cgi/haskell-cgi.SlackBuild
index f6c6c4c360..aa73b56105 100644
--- a/haskell/haskell-cgi/haskell-cgi.SlackBuild
+++ b/haskell/haskell-cgi/haskell-cgi.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for cgi
-# Copyright 2013 Mikko Värri, Finland
+# Copyright 2015 Mikko Värri, Finland
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=haskell-cgi
-VERSION=${VERSION:-3001.1.8.3}
+VERSION=${VERSION:-3001.1.8.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -73,6 +73,11 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# make it work with network-uri package, which was spun off from network 2.6
+patch -p0 <$CWD/network-uri.patch
+# make it work with base >= 4.7
+patch -p0 <$CWD/data-typeable.patch
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
runghc Setup configure \