summaryrefslogtreecommitdiff
path: root/haskell/haskell-composition
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:35:22 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:11 +0700
commit224e6ee00d43733cf6a1d48508318d250f879b7d (patch)
treeb54e29a23d5417435280a6cbaae597a1324cd704 /haskell/haskell-composition
parentc5e98d9dfd547a0d42ac72946ae4d207d4f0f281 (diff)
downloadslackbuilds-224e6ee00d43733cf6a1d48508318d250f879b7d.tar.gz
haskell/haskell-composition: 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-composition')
-rw-r--r--haskell/haskell-composition/haskell-composition.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-composition/haskell-composition.SlackBuild b/haskell/haskell-composition/haskell-composition.SlackBuild
index 783cce149b..c5c7dc352c 100644
--- a/haskell/haskell-composition/haskell-composition.SlackBuild
+++ b/haskell/haskell-composition/haskell-composition.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