summaryrefslogtreecommitdiff
path: root/haskell/haskell-test-framework-quickcheck2/haskell-test-framework-quickcheck2.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'haskell/haskell-test-framework-quickcheck2/haskell-test-framework-quickcheck2.SlackBuild')
-rw-r--r--haskell/haskell-test-framework-quickcheck2/haskell-test-framework-quickcheck2.SlackBuild14
1 files changed, 9 insertions, 5 deletions
diff --git a/haskell/haskell-test-framework-quickcheck2/haskell-test-framework-quickcheck2.SlackBuild b/haskell/haskell-test-framework-quickcheck2/haskell-test-framework-quickcheck2.SlackBuild
index 00526e6ee2..36eee3eabe 100644
--- a/haskell/haskell-test-framework-quickcheck2/haskell-test-framework-quickcheck2.SlackBuild
+++ b/haskell/haskell-test-framework-quickcheck2/haskell-test-framework-quickcheck2.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=haskell-test-framework-quickcheck2
VERSION=${VERSION:-0.3.0.3}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
SRCNAM="$( echo $PRGNAM | cut -d- -f2- )"
@@ -68,10 +68,14 @@ tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+# http://hackage.haskell.org/package/test-framework-quickcheck2-0.3.0.3/revisions/
+sed -i -e 's/QuickCheck >= 2.4 \&\& < 2.8/QuickCheck >= 2.4 \&\& < 2.9/' \
+ test-framework-quickcheck2.cabal
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \