aboutsummaryrefslogtreecommitdiff
path: root/haskell/haskell-lifted-async
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:36:11 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:38 +0700
commit91d9c55823c705c7878fbc43deda5844067c8789 (patch)
tree12aa88e236d462f302ec6e309dc20dac8c9228d0 /haskell/haskell-lifted-async
parent4efa419743775833b7f55d7ea6dcefb5e98c2f1a (diff)
haskell/haskell-lifted-async: 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-lifted-async')
-rw-r--r--haskell/haskell-lifted-async/haskell-lifted-async.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-lifted-async/haskell-lifted-async.SlackBuild b/haskell/haskell-lifted-async/haskell-lifted-async.SlackBuild
index 8b508c5f3cafd..5acd1dedb5156 100644
--- a/haskell/haskell-lifted-async/haskell-lifted-async.SlackBuild
+++ b/haskell/haskell-lifted-async/haskell-lifted-async.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