aboutsummaryrefslogtreecommitdiff
path: root/haskell/haskell-hashed-storage
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:36:04 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:34 +0700
commitfa98057875e6deec4b126eab453ce4b417a69be6 (patch)
tree6ec91eaab5dba502d06e846a7e911458b87913ee /haskell/haskell-hashed-storage
parentf10c38b40256f66c83d19fe35f9aeb2f6db1c60a (diff)
downloadslackbuilds-fa98057875e6deec4b126eab453ce4b417a69be6.tar.xz
haskell/haskell-hashed-storage: 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-hashed-storage')
-rw-r--r--haskell/haskell-hashed-storage/haskell-hashed-storage.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-hashed-storage/haskell-hashed-storage.SlackBuild b/haskell/haskell-hashed-storage/haskell-hashed-storage.SlackBuild
index 0b7653f713cd..9877cc7ab49d 100644
--- a/haskell/haskell-hashed-storage/haskell-hashed-storage.SlackBuild
+++ b/haskell/haskell-hashed-storage/haskell-hashed-storage.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