summaryrefslogtreecommitdiffstats
path: root/haskell/haskell-async/haskell-async.SlackBuild
diff options
context:
space:
mode:
author Andrew Clemons2021-05-02 06:35:38 +0200
committer Willy Sudiarto Raharjo2021-05-02 12:21:19 +0200
commit5872038fe196aa14464e96cc3e792a99170cd41a (patch)
treec91c91cce24fc3f288a173890b2d8c4f4bb9f323 /haskell/haskell-async/haskell-async.SlackBuild
parent33994fb951fd282e357e74efe248560aec3c8572 (diff)
downloadslackbuilds-5872038fe196aa14464e96cc3e792a99170cd41a.tar.gz
haskell/haskell-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-async/haskell-async.SlackBuild')
-rw-r--r--haskell/haskell-async/haskell-async.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-async/haskell-async.SlackBuild b/haskell/haskell-async/haskell-async.SlackBuild
index f6e23796a9..9dbfca239d 100644
--- a/haskell/haskell-async/haskell-async.SlackBuild
+++ b/haskell/haskell-async/haskell-async.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