diff options
Diffstat (limited to 'haskell/haskell-cgi/haskell-cgi.SlackBuild')
-rw-r--r-- | haskell/haskell-cgi/haskell-cgi.SlackBuild | 9 |
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 \ |