aboutsummaryrefslogtreecommitdiff
path: root/haskell/haskell-conduit-extra
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:35:28 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:14 +0700
commit09c6d0ce5f7d505baa2c908189d84836347f1308 (patch)
treede31c2e3d1ca6cdb9b98b45da62eb7a49d5aa9f8 /haskell/haskell-conduit-extra
parentcff9e4a02de19f8f048a98f85d9998ac052b2bed (diff)
haskell/haskell-conduit-extra: 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-conduit-extra')
-rw-r--r--haskell/haskell-conduit-extra/haskell-conduit-extra.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-conduit-extra/haskell-conduit-extra.SlackBuild b/haskell/haskell-conduit-extra/haskell-conduit-extra.SlackBuild
index 3a044dc19f51..b5deadb40803 100644
--- a/haskell/haskell-conduit-extra/haskell-conduit-extra.SlackBuild
+++ b/haskell/haskell-conduit-extra/haskell-conduit-extra.SlackBuild
@@ -89,7 +89,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