aboutsummaryrefslogtreecommitdiff
path: root/haskell/haskell-digest
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:36:02 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:33 +0700
commitd4d77f5987391d2cbc80e9ec3b196fc900d8d274 (patch)
treea4570da8d5e1f2a4a204160a774ee081f7c72b24 /haskell/haskell-digest
parent10cb2e98bea18633039b65969a69d2bf622c3f41 (diff)
haskell/haskell-digest: 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-digest')
-rw-r--r--haskell/haskell-digest/haskell-digest.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-digest/haskell-digest.SlackBuild b/haskell/haskell-digest/haskell-digest.SlackBuild
index 7d489bc35674..cda65afd4364 100644
--- a/haskell/haskell-digest/haskell-digest.SlackBuild
+++ b/haskell/haskell-digest/haskell-digest.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