aboutsummaryrefslogtreecommitdiff
path: root/haskell
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:36:06 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:35 +0700
commit672e33fc476d110b5c4d5d327f8acb2c38085c6d (patch)
tree654e9dc29ad2c38ffb5dcbc9a539c9d00f6b4335 /haskell
parent61e7aac3c3a1abc37a690ed4e1d0b6716777f76f (diff)
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 fe4df3d354989..d446754bd2a9e 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