aboutsummaryrefslogtreecommitdiff
path: root/haskell/haskell-unliftio
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:35:35 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:18 +0700
commit4886f17be741e27b5f0a6ef95bbd881e067213ea (patch)
treec6ff49605f991f53a4dba29982b7902dffd2ae96 /haskell/haskell-unliftio
parent69f70d418fe4f0716a6ddd75871667a2bb5a5f35 (diff)
haskell/haskell-unliftio: 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-unliftio')
-rw-r--r--haskell/haskell-unliftio/haskell-unliftio.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-unliftio/haskell-unliftio.SlackBuild b/haskell/haskell-unliftio/haskell-unliftio.SlackBuild
index 572ce07112d94..34892c6d2fb62 100644
--- a/haskell/haskell-unliftio/haskell-unliftio.SlackBuild
+++ b/haskell/haskell-unliftio/haskell-unliftio.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