summaryrefslogtreecommitdiffstats
path: root/haskell/haskell-foundation
diff options
context:
space:
mode:
author Andrew Clemons2021-05-02 06:35:25 +0200
committer Willy Sudiarto Raharjo2021-05-02 12:21:12 +0200
commit9e0e183b16ca9307cccb4122b71b469e3f10a5d6 (patch)
treee467b62355d5960453fcd554c05fb3efc5802b78 /haskell/haskell-foundation
parent61ccb052e6e24193ff174445af31893e5fafd0a5 (diff)
downloadslackbuilds-9e0e183b16ca9307cccb4122b71b469e3f10a5d6.tar.gz
haskell/haskell-foundation: 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-foundation')
-rw-r--r--haskell/haskell-foundation/haskell-foundation.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-foundation/haskell-foundation.SlackBuild b/haskell/haskell-foundation/haskell-foundation.SlackBuild
index ea3427e93c..042e3f65db 100644
--- a/haskell/haskell-foundation/haskell-foundation.SlackBuild
+++ b/haskell/haskell-foundation/haskell-foundation.SlackBuild
@@ -91,7 +91,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