aboutsummaryrefslogtreecommitdiff
path: root/haskell/haskell-fail/haskell-fail.SlackBuild
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:35:18 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:08 +0700
commit39dd08c061a7ffe845cf3aef9bd0cf5a1ff4d3a8 (patch)
tree2080f57cd81002379d85507e3a24cea2081d1445 /haskell/haskell-fail/haskell-fail.SlackBuild
parent72064ec030d5870a4ebab7d37340c9a9d5d77849 (diff)
haskell/haskell-fail: 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-fail/haskell-fail.SlackBuild')
-rw-r--r--haskell/haskell-fail/haskell-fail.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-fail/haskell-fail.SlackBuild b/haskell/haskell-fail/haskell-fail.SlackBuild
index 7531a59836dd5..e1959db9bcee2 100644
--- a/haskell/haskell-fail/haskell-fail.SlackBuild
+++ b/haskell/haskell-fail/haskell-fail.SlackBuild
@@ -88,7 +88,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