summaryrefslogtreecommitdiffstats
path: root/haskell
diff options
context:
space:
mode:
author Andrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:35:44 +1200
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:23 +0700
commitde39f1726d722feaa2a12fd23630242d732a8ea9 (patch)
treed941af8517123f2df5620c81b64d7e92a1075549 /haskell
parentee32c9cb4019175b08fc8e433d957317ed99c09c (diff)
downloadslackbuilds-de39f1726d722feaa2a12fd23630242d732a8ea9.tar.gz
slackbuilds-de39f1726d722feaa2a12fd23630242d732a8ea9.tar.xz
haskell/haskell-store: 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')
-rw-r--r--haskell/haskell-store/haskell-store.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-store/haskell-store.SlackBuild b/haskell/haskell-store/haskell-store.SlackBuild
index 19bf3002cf..373db71fa7 100644
--- a/haskell/haskell-store/haskell-store.SlackBuild
+++ b/haskell/haskell-store/haskell-store.SlackBuild
@@ -89,7 +89,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