summaryrefslogtreecommitdiffstats
path: root/haskell/haskell-unliftio-core
diff options
context:
space:
mode:
author Andrew Clemons2021-05-02 06:36:02 +0200
committer Willy Sudiarto Raharjo2021-05-02 12:21:32 +0200
commitbc147bd40743e756063e2442c39b6f1777b3003a (patch)
tree9cd32909fd87a4dbd8d8ca9ccccbc54924acf6ba /haskell/haskell-unliftio-core
parent7e24f06b5deb9a1f5c07c0e590f1149f5de33f20 (diff)
downloadslackbuilds-bc147bd40743e756063e2442c39b6f1777b3003a.tar.gz
haskell/haskell-unliftio-core: 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-core')
-rw-r--r--haskell/haskell-unliftio-core/haskell-unliftio-core.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-unliftio-core/haskell-unliftio-core.SlackBuild b/haskell/haskell-unliftio-core/haskell-unliftio-core.SlackBuild
index 8e33f425d0..3963d040e8 100644
--- a/haskell/haskell-unliftio-core/haskell-unliftio-core.SlackBuild
+++ b/haskell/haskell-unliftio-core/haskell-unliftio-core.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