aboutsummaryrefslogtreecommitdiff
path: root/haskell/haskell-foundation
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:35:25 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:12 +0700
commit9e0e183b16ca9307cccb4122b71b469e3f10a5d6 (patch)
treee467b62355d5960453fcd554c05fb3efc5802b78 /haskell/haskell-foundation
parent61ccb052e6e24193ff174445af31893e5fafd0a5 (diff)
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 ea3427e93c4b5..042e3f65db3f0 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