summaryrefslogtreecommitdiffstats
path: root/haskell/haskell-http-client
diff options
context:
space:
mode:
author Andrew Clemons2021-05-02 06:36:04 +0200
committer Willy Sudiarto Raharjo2021-05-02 12:21:34 +0200
commit13bbe6b2973f67d21ef1bde4f92edece70b202f9 (patch)
tree63911f61cc2eeac99ba386878946e9f1a3fcd8e6 /haskell/haskell-http-client
parent00179d46b5ae56c1eb9636ad799d6e85c74bbfa6 (diff)
downloadslackbuilds-13bbe6b2973f67d21ef1bde4f92edece70b202f9.tar.gz
haskell/haskell-http-client: 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-http-client')
-rw-r--r--haskell/haskell-http-client/haskell-http-client.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-http-client/haskell-http-client.SlackBuild b/haskell/haskell-http-client/haskell-http-client.SlackBuild
index 08ba6d9989..4177499134 100644
--- a/haskell/haskell-http-client/haskell-http-client.SlackBuild
+++ b/haskell/haskell-http-client/haskell-http-client.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