summaryrefslogtreecommitdiffstats
path: root/haskell
diff options
context:
space:
mode:
author Andrew Clemons2021-05-02 06:36:06 +0200
committer Willy Sudiarto Raharjo2021-05-02 12:21:35 +0200
commit672e33fc476d110b5c4d5d327f8acb2c38085c6d (patch)
tree654e9dc29ad2c38ffb5dcbc9a539c9d00f6b4335 /haskell
parent61e7aac3c3a1abc37a690ed4e1d0b6716777f76f (diff)
downloadslackbuilds-672e33fc476d110b5c4d5d327f8acb2c38085c6d.tar.gz
haskell/haskell-http-client-tls: 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')
-rw-r--r--haskell/haskell-http-client-tls/haskell-http-client-tls.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-http-client-tls/haskell-http-client-tls.SlackBuild b/haskell/haskell-http-client-tls/haskell-http-client-tls.SlackBuild
index fe4df3d354..d446754bd2 100644
--- a/haskell/haskell-http-client-tls/haskell-http-client-tls.SlackBuild
+++ b/haskell/haskell-http-client-tls/haskell-http-client-tls.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