diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2022-02-11 23:14:10 +1300 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-02-12 00:29:46 +0700 |
commit | d1e40f4b8403bcbb7d44d994a5a49cdb628fec1b (patch) | |
tree | 37794d0955b5e10d55c4e1e7764a4b05d2256a83 /haskell/haskell-deepseq-generics | |
parent | 07e69f7ce68f6181c4ab96b5b651c6e285b48ecf (diff) |
haskell/haskell-deepseq-generics: Fix build with ghc 8.10.4.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'haskell/haskell-deepseq-generics')
-rw-r--r-- | haskell/haskell-deepseq-generics/haskell-deepseq-generics.SlackBuild | 7 | ||||
-rw-r--r-- | haskell/haskell-deepseq-generics/haskell-deepseq-generics.info | 6 |
2 files changed, 6 insertions, 7 deletions
diff --git a/haskell/haskell-deepseq-generics/haskell-deepseq-generics.SlackBuild b/haskell/haskell-deepseq-generics/haskell-deepseq-generics.SlackBuild index 85dd2bf38028..f2081efa8c9f 100644 --- a/haskell/haskell-deepseq-generics/haskell-deepseq-generics.SlackBuild +++ b/haskell/haskell-deepseq-generics/haskell-deepseq-generics.SlackBuild @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=haskell-deepseq-generics VERSION=${VERSION:-0.2.0.0} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -77,16 +77,13 @@ cd $TMP rm -rf $SRCNAM-$VERSION tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $SRCNAM-$VERSION +cat $CWD/7.cabal > $SRCNAM.cabal 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 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; - -# Remove bogus upper version constraint on base -sed -i -E 's/(base *>= *[0-9.]+ *)\&\& *<=? *[0-9.]+/\1/' $SRCNAM.cabal - CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ runghc Setup configure \ diff --git a/haskell/haskell-deepseq-generics/haskell-deepseq-generics.info b/haskell/haskell-deepseq-generics/haskell-deepseq-generics.info index 12c21394cc44..d17c7e9f136d 100644 --- a/haskell/haskell-deepseq-generics/haskell-deepseq-generics.info +++ b/haskell/haskell-deepseq-generics/haskell-deepseq-generics.info @@ -1,8 +1,10 @@ PRGNAM="haskell-deepseq-generics" VERSION="0.2.0.0" HOMEPAGE="https://hackage.haskell.org/package/deepseq-generics" -DOWNLOAD="https://hackage.haskell.org/package/deepseq-generics-0.2.0.0/deepseq-generics-0.2.0.0.tar.gz" -MD5SUM="7bb94923c52024f642c85f4dab9a9b79" +DOWNLOAD="https://hackage.haskell.org/package/deepseq-generics-0.2.0.0/deepseq-generics-0.2.0.0.tar.gz \ + https://hackage.haskell.org/package/deepseq-generics-0.2.0.0/revision/7.cabal" +MD5SUM="7bb94923c52024f642c85f4dab9a9b79 \ + 3c8d30c9fc95e026c750a8880faddbdb" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="ghc" |