summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikko Värri <vmj@linuxbox.fi>2012-06-27 15:53:57 -0400
committerdsomero <xgizzmo@slackbuilds.org>2012-06-27 15:53:57 -0400
commitd7baa274540be47173cdf5e57ee3a400e8919850 (patch)
treea4c53ce53d28d677afab7a9a6c3674a775d7c9c0
parent48f614f4afe063cbbd4914d35121e760bc81f607 (diff)
downloadslackbuilds-d7baa274540be47173cdf5e57ee3a400e8919850.tar.gz
haskell/haskell-Diff: Adjust build for ghc 7.4.x.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
-rw-r--r--haskell/haskell-Diff/README3
-rw-r--r--haskell/haskell-Diff/haskell-Diff.SlackBuild3
-rw-r--r--haskell/haskell-Diff/haskell-Diff.info2
3 files changed, 6 insertions, 2 deletions
diff --git a/haskell/haskell-Diff/README b/haskell/haskell-Diff/README
index 9ff285a85b..511f88d437 100644
--- a/haskell/haskell-Diff/README
+++ b/haskell/haskell-Diff/README
@@ -1,3 +1,6 @@
Basic implementation of the standard O(ND) diff algorithm.
This requires ghc.
+
+After uninstalling, run this command to unregister the package from
+the ghc package database: ghc-pkg recache
diff --git a/haskell/haskell-Diff/haskell-Diff.SlackBuild b/haskell/haskell-Diff/haskell-Diff.SlackBuild
index f50b3f5f58..a120eec378 100644
--- a/haskell/haskell-Diff/haskell-Diff.SlackBuild
+++ b/haskell/haskell-Diff/haskell-Diff.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=haskell-Diff
VERSION=${VERSION:-0.1.3}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
SRCNAM="$( echo $PRGNAM | cut -d- -f2- )"
@@ -80,6 +80,7 @@ runghc Setup configure \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--libsubdir=ghc-${GHC_VERSION}/$SRCNAM-$VERSION \
--enable-shared \
+ --enable-library-profiling \
--docdir=/usr/doc/$PRGNAM-$VERSION
runghc Setup build
diff --git a/haskell/haskell-Diff/haskell-Diff.info b/haskell/haskell-Diff/haskell-Diff.info
index ca9b724a21..5601503646 100644
--- a/haskell/haskell-Diff/haskell-Diff.info
+++ b/haskell/haskell-Diff/haskell-Diff.info
@@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Mikko Värri"
EMAIL="vmj@linuxbox.fi"
-APPROVED="Niels Horn"
+APPROVED="dsomero"