aboutsummaryrefslogtreecommitdiff
path: root/haskell/haskell-cgi/haskell-cgi.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'haskell/haskell-cgi/haskell-cgi.SlackBuild')
-rw-r--r--haskell/haskell-cgi/haskell-cgi.SlackBuild10
1 files changed, 3 insertions, 7 deletions
diff --git a/haskell/haskell-cgi/haskell-cgi.SlackBuild b/haskell/haskell-cgi/haskell-cgi.SlackBuild
index aa73b56105bd..146f11d4ac6c 100644
--- a/haskell/haskell-cgi/haskell-cgi.SlackBuild
+++ b/haskell/haskell-cgi/haskell-cgi.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=haskell-cgi
-VERSION=${VERSION:-3001.1.8.5}
+VERSION=${VERSION:-3001.3.0.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -73,11 +73,6 @@ 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 \
@@ -86,7 +81,8 @@ runghc Setup configure \
--libsubdir=ghc-${GHC_VERSION}/$SRCNAM-$VERSION \
--enable-shared \
--enable-library-profiling \
- --docdir=/usr/doc/$PRGNAM-$VERSION
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --flags="network-uri"
runghc Setup build
runghc Setup haddock