summaryrefslogtreecommitdiffstats
path: root/haskell/haskell-test-framework-quickcheck2
diff options
context:
space:
mode:
author Andrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:35:57 +1200
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:30 +0700
commitd91a2b2b2d204268507d55eacaa806f881efdbca (patch)
tree63f96079f4663bf9e74ae600129aabac65880de7 /haskell/haskell-test-framework-quickcheck2
parentafe2be82772ee2c14b2a6645fed14bdcde991686 (diff)
downloadslackbuilds-d91a2b2b2d204268507d55eacaa806f881efdbca.tar.gz
slackbuilds-d91a2b2b2d204268507d55eacaa806f881efdbca.tar.xz
haskell/haskell-test-framework-quickcheck2: Fix build with ghc 8.10.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'haskell/haskell-test-framework-quickcheck2')
-rw-r--r--haskell/haskell-test-framework-quickcheck2/haskell-test-framework-quickcheck2.SlackBuild2
1 files changed, 1 insertions, 1 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 fbcc4096ff..e221d1bcbe 100644
--- a/haskell/haskell-test-framework-quickcheck2/haskell-test-framework-quickcheck2.SlackBuild
+++ b/haskell/haskell-test-framework-quickcheck2/haskell-test-framework-quickcheck2.SlackBuild
@@ -93,7 +93,7 @@ runghc Setup copy --destdir=$PKG
runghc Setup register --gen-pkg-config
PKGCONFD=/usr/lib${LIBDIRSUFFIX}/ghc-${GHC_VERSION}/package.conf.d
-PKGID=$( grep -E "^id: " $SRCNAM-$VERSION.conf | cut -d" " -f2 )
+PKGID=$( grep -E "^id: " $SRCNAM-$VERSION.conf | sed "s/[[:space:]][[:space:]]*/ /" | cut -d" " -f2 )
mkdir -p $PKG/$PKGCONFD
mv $SRCNAM-$VERSION.conf $PKG/$PKGCONFD/$PKGID.conf