aboutsummaryrefslogtreecommitdiff
path: root/haskell/haskell-blaze-builder
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:35:50 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:26 +0700
commit81de5ea4b6a17412c8406ceaa5bba712e50ed5b4 (patch)
treed5897272bedbb729a64a4fcd9badd1e2b348d621 /haskell/haskell-blaze-builder
parent07259bfea23b283a140d05efccadf2f97578c410 (diff)
haskell/haskell-blaze-builder: 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-blaze-builder')
-rw-r--r--haskell/haskell-blaze-builder/haskell-blaze-builder.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-blaze-builder/haskell-blaze-builder.SlackBuild b/haskell/haskell-blaze-builder/haskell-blaze-builder.SlackBuild
index 01257d9ebe1d7..f7b0b6718b2e5 100644
--- a/haskell/haskell-blaze-builder/haskell-blaze-builder.SlackBuild
+++ b/haskell/haskell-blaze-builder/haskell-blaze-builder.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