aboutsummaryrefslogtreecommitdiff
path: root/haskell/haskell-curl
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:35:23 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:11 +0700
commitce244e9b8a1bb9878e0d845cbaf13194fdf00135 (patch)
tree8c3b5c082c39ba76c6317836eb47e414b9b95b14 /haskell/haskell-curl
parentcdc7c5cfff04516cc23444d0752c45e1e03cfd18 (diff)
haskell/haskell-curl: 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-curl')
-rw-r--r--haskell/haskell-curl/haskell-curl.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-curl/haskell-curl.SlackBuild b/haskell/haskell-curl/haskell-curl.SlackBuild
index 301c3682eaba..4da7bc9d2479 100644
--- a/haskell/haskell-curl/haskell-curl.SlackBuild
+++ b/haskell/haskell-curl/haskell-curl.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