summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:36:19 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:43 +0700
commitac33c72c0a3638a457c2d1682423c15b5e1996ed (patch)
tree1a17eb6c00a62b960a261ca747986a0081db486c
parent672be8aac29ea092672538a19947cc0827a8da41 (diff)
downloadslackbuilds-ac33c72c0a3638a457c2d1682423c15b5e1996ed.tar.gz
haskell/haskell-parallel: Fix build with ghc 8.10.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--haskell/haskell-parallel/haskell-parallel.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-parallel/haskell-parallel.SlackBuild b/haskell/haskell-parallel/haskell-parallel.SlackBuild
index 70fa891d31..5984c05046 100644
--- a/haskell/haskell-parallel/haskell-parallel.SlackBuild
+++ b/haskell/haskell-parallel/haskell-parallel.SlackBuild
@@ -90,7 +90,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