aboutsummaryrefslogtreecommitdiff
path: root/haskell/haskell-stm-chans
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:35:27 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:13 +0700
commit14ea59facecf435bbeee43244fd6d04b1e09eac1 (patch)
tree01c9183eea420c5906fe7462c8e1d3aedd91172e /haskell/haskell-stm-chans
parentaa54278160b698766ff7215f25f702572ec21c10 (diff)
haskell/haskell-stm-chans: 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-stm-chans')
-rw-r--r--haskell/haskell-stm-chans/haskell-stm-chans.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-stm-chans/haskell-stm-chans.SlackBuild b/haskell/haskell-stm-chans/haskell-stm-chans.SlackBuild
index b8ad672c8f66..aa739b595d8f 100644
--- a/haskell/haskell-stm-chans/haskell-stm-chans.SlackBuild
+++ b/haskell/haskell-stm-chans/haskell-stm-chans.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