summaryrefslogtreecommitdiffstats
path: root/haskell
diff options
context:
space:
mode:
author Andrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:35:40 +1200
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:20 +0700
commitacc0da9536b509833d32f997e97ebc5c0e6ff1c5 (patch)
treef5c5480edb746a78694d53311577642d6142d104 /haskell
parent9ff992b50a34d7093c2736db1545a504d1139c9f (diff)
downloadslackbuilds-acc0da9536b509833d32f997e97ebc5c0e6ff1c5.tar.gz
slackbuilds-acc0da9536b509833d32f997e97ebc5c0e6ff1c5.tar.xz
haskell/haskell-conduit: 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-conduit/haskell-conduit.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-conduit/haskell-conduit.SlackBuild b/haskell/haskell-conduit/haskell-conduit.SlackBuild
index da7e8834ee..ac2843d512 100644
--- a/haskell/haskell-conduit/haskell-conduit.SlackBuild
+++ b/haskell/haskell-conduit/haskell-conduit.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